pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/php4 Only create the phpize cookie file if phpize ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6276ad8a083b
branches:  trunk
changeset: 470987:6276ad8a083b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Mar 14 20:07:06 2004 +0000

description:
Only create the phpize cookie file if phpize ran with no errors.

diffstat:

 www/php4/Makefile.module |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r a62253ba1a97 -r 6276ad8a083b www/php4/Makefile.module
--- a/www/php4/Makefile.module  Sun Mar 14 19:32:40 2004 +0000
+++ b/www/php4/Makefile.module  Sun Mar 14 20:07:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.module,v 1.23 2003/08/31 19:56:05 jdolecek Exp $
+# $NetBSD: Makefile.module,v 1.24 2004/03/14 20:07:06 jlam Exp $
 #
 # This Makefile is provided to ease creating PHP4 packages for the extension
 # modules distributed in the PHP4 sources.
@@ -49,10 +49,11 @@
 phpize-module:
        @cookie=${WRKDIR}/.phpize_module_done;                          \
        if [ ! -f $${cookie} ]; then                                    \
-               ( cd ${WRKSRC} && ${SETENV} AUTOCONF=${AUTOCONF}        \
-                       AUTOHEADER=${AUTOHEADER} ACLOCAL=${ACLOCAL}     \
+               cd ${WRKSRC} &&                                         \
+               ${SETENV} AUTOCONF=${AUTOCONF} AUTOHEADER=${AUTOHEADER} \
+                       ACLOCAL=${ACLOCAL}                              \
                        LIBTOOLIZE=${LOCALBASE}/bin/libtoolize          \
-                       ${PHPIZE} );                                    \
+                       ${PHPIZE} &&                                    \
                ${TOUCH} ${TOUCH_FLAGS} $${cookie};                     \
        fi
 



Home | Main Index | Thread Index | Old Index