pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/php-zip



Module Name:    pkgsrc
Committed By:   jdolecek
Date:           Sat Feb  3 11:19:09 UTC 2018

Modified Files:
        pkgsrc/archivers/php-zip: Makefile

Log Message:
Switch archivers/php-zip to using pkgsrc libzip

The module has bundled version 1.1.2, but the configure script warns
when using the bundled one, and it's of course better to not duplicate
it. Noticed this on recent PHP 7.1.14/7.2.2 releases which had fixes
for zip extension when used with libzip >= 1.3.1.

XXX May need backport of the fix for 7.0 and 5.6 which did not get the fix,
or can just switch over to using the PECL module directly


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/archivers/php-zip/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/php-zip/Makefile
diff -u pkgsrc/archivers/php-zip/Makefile:1.16 pkgsrc/archivers/php-zip/Makefile:1.17
--- pkgsrc/archivers/php-zip/Makefile:1.16      Tue Sep 11 19:46:59 2012
+++ pkgsrc/archivers/php-zip/Makefile   Sat Feb  3 11:19:09 2018
@@ -1,15 +1,19 @@
-# $NetBSD: Makefile,v 1.16 2012/09/11 19:46:59 asau Exp $
+# $NetBSD: Makefile,v 1.17 2018/02/03 11:19:09 jdolecek Exp $
 
 MODNAME=               zip
 CATEGORIES+=           archivers
 COMMENT=               PHP extension for ZIP archive handling
+PKGREVISION=    1
 
 CONFLICTS=             php-zip-[0-9]*
 
 CONFIGURE_ARGS+=       --enable-zip
 CONFIGURE_ARGS+=       --with-zlib-dir=${BUILDLINK_PREFIX.zlib}
+CONFIGURE_ARGS+=       --with-libzip=${BUILDLINK_PREFIX.libzip}
+
 USE_PHP_EXT_PATCHES=   yes
 
 .include "../../lang/php/ext.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../archivers/libzip/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index