pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php use ${PATH_ARGS} in do-patch target, and use ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb2097e43b2a
branches: trunk
changeset: 504038:cb2097e43b2a
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sat Dec 03 13:16:36 2005 +0000
description:
use ${PATH_ARGS} in do-patch target, and use _PKG_SILENT/_PKG_DEBUG
to reduce output for normal runs
diffstat:
lang/php/ext.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 48f70ea97cc7 -r cb2097e43b2a lang/php/ext.mk
--- a/lang/php/ext.mk Sat Dec 03 11:36:04 2005 +0000
+++ b/lang/php/ext.mk Sat Dec 03 13:16:36 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.10 2005/10/04 16:50:50 tv Exp $
+# $NetBSD: ext.mk,v 1.11 2005/12/03 13:16:36 jdolecek Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -80,9 +80,10 @@
.if defined(USE_PHP_EXT_PATCHES)
PATCHDIR= ${.CURDIR}/${PHPPKGSRCDIR}/patches
do-patch:
- cd ${WRKSRC}; \
+ ${_PKG_SILENT}${_PKG_DEBUG}
+ cd ${WRKSRC}; \
for p in `${EGREP} -l '^\+\+\+ ext/${MODNAME}/' ${PATCHDIR}/patch-*`;do\
- ${SED} -e 's,^+++ ext/${MODNAME}/,+++ ,' $$p | ${PATCH}; \
+ ${SED} -e 's,^+++ ext/${MODNAME}/,+++ ,' $$p | ${PATCH} ${PATCH_ARGS}; \
done
.endif
Home |
Main Index |
Thread Index |
Old Index