summaryrefslogtreecommitdiff
path: root/archivers/unzip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/unzip/Makefile')
-rw-r--r--archivers/unzip/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index 7f82ae08b85..7aa574e03ce 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2012/04/25 19:34:51 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2012/04/27 06:55:50 wiz Exp $
DISTNAME= unzip60
PKGNAME= unzip-6.0
@@ -36,7 +36,10 @@ CPPFLAGS+= -DBSD
(${OPSYS} == "Darwin" && !empty(OS_VERSION:M[01234678].*)))
CPPFLAGS+= -DNO_LCHMOD
.endif
-CPPFLAGS+= -DLARGE_FILE_SUPPORT -DUNIX -Dunix -DUSE_UNSHRINK -I.
+CPPFLAGS+= -DUNIX -Dunix -DUSE_UNSHRINK -I.
+.if (${OPSYS} != "SunOS")
+CPPFLAGS+= -DLARGE_FILE_SUPPORT
+.endif
MAKE_FLAGS+= CF=${CPPFLAGS:Q}\ ${CFLAGS:Q}
MAKE_FLAGS+= LF2=${_STRIPFLAG_CC:Q}\ ${LDFLAGS:Q}\ -lz