summaryrefslogtreecommitdiffstats
path: root/www/mod_php4/scripts
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-08-26 21:18:15 +0000
committerdirk <dirk@FreeBSD.org>1999-08-26 21:18:15 +0000
commit642bb4d7aabda24f5b34da03397b4c73b5930691 (patch)
tree22c75f57e52781adfeda3a74780f6523b42ea1e3 /www/mod_php4/scripts
parentba7b077fe34722d0e489dde6c0f191402f303db6 (diff)
downloadFreeBSD-ports-642bb4d7aabda24f5b34da03397b4c73b5930691.zip
FreeBSD-ports-642bb4d7aabda24f5b34da03397b4c73b5930691.tar.gz
Fix two minor problems:
- if e. g. a "make BATCH=yes fetch" was followed by a "make all" the config menu popped up. - if gd was installed but gd support was not checked in the config menu, php was compiled with gd support nevertheless. (There may be other support options having the same behavior. I haven't checked all, yet.)
Diffstat (limited to 'www/mod_php4/scripts')
-rw-r--r--www/mod_php4/scripts/configure.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 9ff2d48..046a887 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ "${BATCH}" ]; then
+ ${TOUCH} ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ exit
+fi
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
fi
OpenPOWER on IntegriCloud