summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-25 06:37:20 +0000
committerobache <obache@pkgsrc.org>2010-08-25 06:37:20 +0000
commit02eab048a0ff481675ed5adc6268a37ff788bc21 (patch)
tree3ab778689f6e327c29684ffb38641aeb3c0fe5dc /lang/php
parentbf03f9a54cb595ca417ffee9fa26300b79834512 (diff)
downloadpkgsrc-02eab048a0ff481675ed5adc6268a37ff788bc21.tar.gz
Always install pear with `-n', or failed to install if extension is required
but not loaded in php.ini.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/pear.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index 450d3191b14..e98f0751679 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.18 2010/03/16 15:34:01 taca Exp $
+# $NetBSD: pear.mk,v 1.19 2010/08/25 06:37:20 obache Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -34,7 +34,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pear-[0-9]*:../../lang/pear
PEAR_CMD= ${PREFIX}/bin/pear
PEAR_LIB= lib/php
.if ${_USE_DESTDIR} != "no"
-PEAR_DESTDIR= -P ${DESTDIR} -n -f
+PEAR_DESTDIR= -P ${DESTDIR} -f
.endif
# Dynamic PLIST, generated via a helper PHP script, which parses the package
@@ -53,7 +53,7 @@ post-extract:
do-install:
cd ${WRKSRC} && ${SETENV} TZ=UTC \
- ${PEAR_CMD} "install" ${PEAR_DESTDIR} package.xml || exit 1
+ ${PEAR_CMD} "install" ${PEAR_DESTDIR} -n package.xml || exit 1
.if ${_USE_DESTDIR} != "no"
CHECK_FILES_SKIP+= ${PREFIX}/lib/php/.channels/.alias/phpdocs.txt