summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-14 20:07:06 +0000
committerjlam <jlam>2004-03-14 20:07:06 +0000
commit6b0f2fb4a28ce030440bf73a9e26ae92d31aa8eb (patch)
tree2163b48deed8e0cefe2d8d89e110402a768ca7bf
parent3096bf46a7b1665a58735a3158c092986ab5f670 (diff)
downloadpkgsrc-6b0f2fb4a28ce030440bf73a9e26ae92d31aa8eb.tar.gz
Only create the phpize cookie file if phpize ran with no errors.
-rw-r--r--www/php4/Makefile.module9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/php4/Makefile.module b/www/php4/Makefile.module
index 2db844316f5..32e55e5d107 100644
--- a/www/php4/Makefile.module
+++ b/www/php4/Makefile.module
@@ -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 @@ pre-configure: phpize-module
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