summaryrefslogtreecommitdiff
path: root/lang/php/pear.mk
diff options
context:
space:
mode:
authorobache <obache>2010-02-03 11:44:35 +0000
committerobache <obache>2010-02-03 11:44:35 +0000
commit042d0b8fe6e7ab2c458559c7dec3fd98c77978d9 (patch)
tree442ef6cd083c5bfbb9f3c0e36fed62553657d75f /lang/php/pear.mk
parent9cd25d0b8a1a9c37a18866ad2cddf7514a82182a (diff)
downloadpkgsrc-042d0b8fe6e7ab2c458559c7dec3fd98c77978d9.tar.gz
Add -n option for DESTDIR to skip dependency check,
and also move -f option here.
Diffstat (limited to 'lang/php/pear.mk')
-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