diff options
author | sketch <sketch@pkgsrc.org> | 2006-07-10 20:53:43 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2006-07-10 20:53:43 +0000 |
commit | 7d90eb763902f1184c47cc9e900cf0556d11ec1c (patch) | |
tree | d102324ac6077591b5095bba43f1f95d57f5d7dd /lang/php | |
parent | 55f5453c79103dc1e7e9183e58c9971d875f7a69 (diff) | |
download | pkgsrc-7d90eb763902f1184c47cc9e900cf0556d11ec1c.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.mk | 4 |
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" |