From bc87fbfd313e8121392d0cc0dc4b2d1c54c7958d Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sat, 3 Feb 2018 11:19:09 +0000 Subject: 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 --- archivers/php-zip/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archivers') diff --git a/archivers/php-zip/Makefile b/archivers/php-zip/Makefile index d9cfb114366..2656136409c 100644 --- a/archivers/php-zip/Makefile +++ b/archivers/php-zip/Makefile @@ -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" -- cgit v1.2.3