pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/minizip minizip: Re-enable using fopen64 on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb2f86916d45
branches:  trunk
changeset: 414752:fb2f86916d45
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Apr 01 10:46:24 2020 +0000

description:
minizip: Re-enable using fopen64 on Linux only

requested by wiz

diffstat:

 archivers/minizip/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1806abade33f -r fb2f86916d45 archivers/minizip/Makefile
--- a/archivers/minizip/Makefile        Wed Apr 01 10:24:05 2020 +0000
+++ b/archivers/minizip/Makefile        Wed Apr 01 10:46:24 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/04/01 09:55:12 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/04/01 10:46:24 nia Exp $
 
 DISTNAME=      zlib-1.2.11
 PKGNAME=       ${DISTNAME:S/zlib-/minizip-/1}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    archivers
 MASTER_SITES=  http://zlib.net/
 EXTRACT_SUFX=  .tar.xz
@@ -18,7 +18,11 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    autoconf automake autoreconf
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
 CPPFLAGS+=     -DUSE_FILE32API
+.endif
 
 PKGCONFIG_OVERRIDE+=   minizip.pc.in
 



Home | Main Index | Thread Index | Old Index