summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-14 20:07:06 +0000
committerjlam <jlam@pkgsrc.org>2004-03-14 20:07:06 +0000
commit2db07fda61ac456a99424bf633e6c63c811eafd8 (patch)
tree2163b48deed8e0cefe2d8d89e110402a768ca7bf /www
parent2b2995b828e0ae4df5a0a458215908d9ec13ec48 (diff)
downloadpkgsrc-2db07fda61ac456a99424bf633e6c63c811eafd8.tar.gz
Only create the phpize cookie file if phpize ran with no errors.
Diffstat (limited to 'www')
-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