pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php Make sure the do-patch target returns true, a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d32cbe794e2
branches:  trunk
changeset: 515910:4d32cbe794e2
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Mon Jul 10 20:53:43 2006 +0000

description:
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:

 lang/php/ext.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c95c3ca3f879 -r 4d32cbe794e2 lang/php/ext.mk
--- a/lang/php/ext.mk   Mon Jul 10 20:52:44 2006 +0000
+++ b/lang/php/ext.mk   Mon Jul 10 20:53:43 2006 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index