pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/unzip Do not enable largefile support on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4df9bae19aab
branches:  trunk
changeset: 603041:4df9bae19aab
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Apr 27 06:55:50 2012 +0000

description:
Do not enable largefile support on SunOS.
PR 46383 by Uwe Klaus.

diffstat:

 archivers/unzip/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f83550de2e3a -r 4df9bae19aab archivers/unzip/Makefile
--- a/archivers/unzip/Makefile  Fri Apr 27 04:53:02 2012 +0000
+++ b/archivers/unzip/Makefile  Fri Apr 27 06:55:50 2012 +0000
@@ -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 @@
     (${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



Home | Main Index | Thread Index | Old Index