summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-03 11:44:35 +0000
committerobache <obache@pkgsrc.org>2010-02-03 11:44:35 +0000
commitba59a2163718d9e3e6229dd2a19082ada92bb5a8 (patch)
tree442ef6cd083c5bfbb9f3c0e36fed62553657d75f /lang/php
parent3f551d0a4659dada2d8451414dbaeed5f647bd51 (diff)
downloadpkgsrc-ba59a2163718d9e3e6229dd2a19082ada92bb5a8.tar.gz
Add -n option for DESTDIR to skip dependency check,
and also move -f option here.
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 e62d9a8769d..04f1650e493 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.15 2009/10/31 04:51:28 obache Exp $
+# $NetBSD: pear.mk,v 1.16 2010/02/03 11:44:35 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= -R ${DESTDIR}
+PEAR_DESTDIR= -R ${DESTDIR} -n -f
.endif
# Dynamic PLIST, generated via a helper PHP script, which parses the package
@@ -52,7 +52,7 @@ post-extract:
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml
do-install:
- cd ${WRKSRC} && ${PEAR_CMD} "install" -f ${PEAR_DESTDIR} package.xml || exit 1
+ cd ${WRKSRC} && ${PEAR_CMD} "install" ${PEAR_DESTDIR} package.xml || exit 1
.if ${_USE_DESTDIR} != "no"
CHECK_FILES_SKIP+= ${PREFIX}/lib/php/.channels/.alias/phpdocs.txt