summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-04-27 06:55:50 +0000
committerwiz <wiz@pkgsrc.org>2012-04-27 06:55:50 +0000
commit4164b382dc0655c13b83dfb2f3987b382d5e4304 (patch)
treed8cc5686dbf0d9b136b0fbced15034f5c375f70f /archivers
parent2de26ceba68185a77a064ac8da66629939cf1937 (diff)
downloadpkgsrc-4164b382dc0655c13b83dfb2f3987b382d5e4304.tar.gz
Do not enable largefile support on SunOS.
PR 46383 by Uwe Klaus.
Diffstat (limited to 'archivers')
-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