summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsketch <sketch>2006-07-10 20:53:43 +0000
committersketch <sketch>2006-07-10 20:53:43 +0000
commit4a1f28e4b0f8161306b7a4996e9a4e3e4eb8d1fa (patch)
treed102324ac6077591b5095bba43f1f95d57f5d7dd
parent6c815f5672445557f77bad8695edd594b671d4af (diff)
downloadpkgsrc-4a1f28e4b0f8161306b7a4996e9a4e3e4eb8d1fa.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.
-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"