pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php Add -n option for DESTDIR to skip dependency ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd0174ec1226
branches: trunk
changeset: 570770:cd0174ec1226
user: obache <obache%pkgsrc.org@localhost>
date: Wed Feb 03 11:44:35 2010 +0000
description:
Add -n option for DESTDIR to skip dependency check,
and also move -f option here.
diffstat:
lang/php/pear.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 501c0203020e -r cd0174ec1226 lang/php/pear.mk
--- a/lang/php/pear.mk Wed Feb 03 11:30:23 2010 +0000
+++ b/lang/php/pear.mk Wed Feb 03 11:44:35 2010 +0000
@@ -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 @@
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 @@
@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
Home |
Main Index |
Thread Index |
Old Index