From 7d90eb763902f1184c47cc9e900cf0556d11ec1c Mon Sep 17 00:00:00 2001 From: sketch Date: Mon, 10 Jul 2006 20:53:43 +0000 Subject: 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. --- lang/php/ext.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang') 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" -- cgit v1.2.3