summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-29 19:26:53 +0000
committerjperkin <jperkin>2016-02-29 19:26:53 +0000
commitecaede77f4e0cae7950193e32fe84a5cbad6b5b5 (patch)
treeca7f3a84292edfab8f98dc07d27c2b46ba2ca965 /lang
parentcaa1d9eea3c47d65ef91da91a4e5dd5dc809f0d4 (diff)
downloadpkgsrc-ecaede77f4e0cae7950193e32fe84a5cbad6b5b5.tar.gz
Remove PEAR_SKIP_FILES after the dynamic PLIST generation too, as
php is invoked to generate the PLIST and will re-create the files, despite them already having been removed in post-install.
Diffstat (limited to 'lang')
-rw-r--r--lang/php/pear.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index ebe4a0e5e10..69833480d4b 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.27 2015/08/23 15:31:17 taca Exp $
+# $NetBSD: pear.mk,v 1.28 2016/02/29 19:26:53 jperkin Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -59,7 +59,8 @@ PEAR_GENERATE_PLIST= \
${INSTALL_ENV} PREFIX=${PREFIX:Q} \
${PREFIX}/bin/php -d include_path=".:${PREFIX}/lib/php" \
-d log_errors=On -d display_errors=Off \
- -C -n ${PKGDIR}/../../lang/php/pear_plist.php;
+ -C -n ${PKGDIR}/../../lang/php/pear_plist.php; \
+ ${RM} -f ${PEAR_FILES_SKIP:S/^/${DESTDIR}&/};
GENERATE_PLIST+= ${PEAR_GENERATE_PLIST}
.if ${_USE_DESTDIR} != "no"