pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/php-zip Switch archivers/php-zip to using pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6c225c18b16
branches:  trunk
changeset: 375118:f6c225c18b16
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Feb 03 11:19:09 2018 +0000

description:
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

diffstat:

 archivers/php-zip/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 3041db2e1d93 -r f6c225c18b16 archivers/php-zip/Makefile
--- a/archivers/php-zip/Makefile        Sat Feb 03 10:50:47 2018 +0000
+++ b/archivers/php-zip/Makefile        Sat Feb 03 11:19:09 2018 +0000
@@ -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