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
commitcd5343713c7badeb8b403e1cc932ab3c2fe49204 (patch)
tree2163b48deed8e0cefe2d8d89e110402a768ca7bf /www
parent57d1d7c0279628b5f8fe26ea7a166b40ae384011 (diff)
downloadpkgsrc-cd5343713c7badeb8b403e1cc932ab3c2fe49204.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