summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2006-07-10 20:53:43 +0000
committersketch <sketch@pkgsrc.org>2006-07-10 20:53:43 +0000
commitb1562b0e54d39bc0d426caf015644c84749a2e4e (patch)
treed102324ac6077591b5095bba43f1f95d57f5d7dd /lang/php
parent1995232251b03c071f68c22c8269672972e5b5e9 (diff)
downloadpkgsrc-b1562b0e54d39bc0d426caf015644c84749a2e4e.tar.gz
Make sure the do-patch target returns true, as some shells will return the
egrep exit status (which will be false if there are no patches for the module) and stop the build.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/ext.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk
index eb2555df87f..8f4bb916ec4 100644
--- a/lang/php/ext.mk
+++ b/lang/php/ext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.15 2006/06/02 18:27:56 joerg Exp $
+# $NetBSD: ext.mk,v 1.16 2006/07/10 20:53:43 sketch Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -90,7 +90,7 @@ do-patch:
cd ${WRKSRC}; \
for p in `${EGREP} -l '^\+\+\+ ext/${MODNAME}/' ${PATCHDIR}/patch-*`;do\
${SED} -e 's,^+++ ext/${MODNAME}/,+++ ,' $$p | ${PATCH} ${PATCH_ARGS}; \
- done
+ done || ${TRUE}
.endif
.include "${PHPPKGSRCDIR}/buildlink3.mk"