summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorobache <obache>2009-10-31 04:51:28 +0000
committerobache <obache>2009-10-31 04:51:28 +0000
commit9b0148c1628e7342e6391c18b820fa50e1309d88 (patch)
tree9233d562d484c5f28a5c44b99be66639c03de3c8 /lang
parent7635e45d886eacbc8454174ffaf419e29e830ee9 (diff)
downloadpkgsrc-9b0148c1628e7342e6391c18b820fa50e1309d88.tar.gz
Add "-f" flag for install to prevent installed package from installation
when "make replace" or using DESTDIR.
Diffstat (limited to 'lang')
-rw-r--r--lang/php/pear.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk
index 6dcc4aeca56..e62d9a8769d 100644
--- a/lang/php/pear.mk
+++ b/lang/php/pear.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pear.mk,v 1.14 2009/10/31 04:46:34 obache Exp $
+# $NetBSD: pear.mk,v 1.15 2009/10/31 04:51:28 obache Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install pear packages.
@@ -52,7 +52,7 @@ post-extract:
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml
do-install:
- cd ${WRKSRC} && ${PEAR_CMD} "install" ${PEAR_DESTDIR} package.xml || exit 1
+ cd ${WRKSRC} && ${PEAR_CMD} "install" -f ${PEAR_DESTDIR} package.xml || exit 1
.if ${_USE_DESTDIR} != "no"
CHECK_FILES_SKIP+= ${PREFIX}/lib/php/.channels/.alias/phpdocs.txt