summaryrefslogtreecommitdiffstats
path: root/www
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
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')
-rw-r--r--www/mod_php3/Makefile10
-rw-r--r--www/mod_php3/scripts/configure.php4
-rw-r--r--www/mod_php4/Makefile10
-rw-r--r--www/mod_php4/scripts/configure.php4
-rw-r--r--www/mod_php5/Makefile10
-rw-r--r--www/mod_php5/scripts/configure.php4
6 files changed, 27 insertions, 15 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index c8aadd7..40a7801 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
-# $Id: Makefile,v 1.88 1999/08/22 19:00:27 mharo Exp $
+# $Id: Makefile,v 1.89 1999/08/26 09:24:16 dirk Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@@ -87,7 +87,8 @@ CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \
.endif
CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib'
-SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}"
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
+ TOUCH="${TOUCH}"
INSTALL_TARGET= install-quiet
@@ -103,12 +104,11 @@ PHP_CONF_ARGS= --prefix=${PREFIX} \
--with-apache=${WRKSRC} \
--with-config-file-path=${PREFIX}/etc \
--disable-debug \
- --enable-track-vars
+ --enable-track-vars \
+ --without-gd
-.if !defined(BATCH)
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
-.endif
post-extract:
@${LN} -s php-${VERSION_PHP} ${WRKDIR}/php
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index c7b9137..28f8fd5 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/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
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 9de4168..c09e639 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
-# $Id: Makefile,v 1.90 1999/08/20 19:12:55 dirk Exp $
+# $Id: Makefile,v 1.91 1999/08/22 19:00:28 mharo Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@@ -85,7 +85,8 @@ CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \
.endif
CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib'
-SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}"
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
+ TOUCH="${TOUCH}"
INSTALL_TARGET= install-quiet
@@ -101,12 +102,11 @@ PHP_CONF_ARGS= --prefix=${PREFIX} \
--with-apache=${WRKSRC} \
--with-config-file-path=${PREFIX}/etc \
--disable-debug \
- --enable-track-vars
+ --enable-track-vars \
+ --without-gd
-.if !defined(BATCH)
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
-.endif
post-extract:
@${LN} -s php-${VERSION_PHP} ${WRKDIR}/php
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
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 9de4168..c09e639 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
-# $Id: Makefile,v 1.90 1999/08/20 19:12:55 dirk Exp $
+# $Id: Makefile,v 1.91 1999/08/22 19:00:28 mharo Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@@ -85,7 +85,8 @@ CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \
.endif
CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib'
-SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}"
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
+ TOUCH="${TOUCH}"
INSTALL_TARGET= install-quiet
@@ -101,12 +102,11 @@ PHP_CONF_ARGS= --prefix=${PREFIX} \
--with-apache=${WRKSRC} \
--with-config-file-path=${PREFIX}/etc \
--disable-debug \
- --enable-track-vars
+ --enable-track-vars \
+ --without-gd
-.if !defined(BATCH)
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
-.endif
post-extract:
@${LN} -s php-${VERSION_PHP} ${WRKDIR}/php
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 9ff2d48..046a887 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/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