aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/Makefile')
-rw-r--r--www/mod_php5/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index e6d94e4b5098..46ebd302bbed 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.59 1998/12/05 09:36:59 obrien Exp $
+# $Id: Makefile,v 1.58 1998/12/02 20:32:02 billf Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@@ -18,14 +18,11 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/ \
http://www.php3.de/distributions/
DISTFILES= apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP3}.tar.gz
-MAINTAINER= Dirk Froemberg <ibex@physik.TU-Berlin.DE>
+MAINTAINER= dirk@FreeBSD.ORG
VERSION_APACHE= 1.3.3
VERSION_PHP3= 3.0.5
-IS_INTERACTIVE= yes
-NO_PACKAGE= Support for different databases
-
#
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
@@ -74,14 +71,21 @@ PHP3_CONF_ARGS= --prefix=${PREFIX} \
--enable-track-vars
pre-fetch:
+.if !defined(BATCH)
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
+.endif
pre-configure:
@cd ${WRKSRC} \
&& ./configure > /dev/null \
&& cd ${WRKDIR}/php-${VERSION_PHP3} \
&& ${ECHO_MSG} "===> Configuring for PHP-${VERSION_PHP3}" \
- && CFLAGS= CPPFLAGS="-I${PREFIX}/include -I${PREFIX}/include/gd" LDFLAGS=-L${PREFIX}/lib ./configure ${PHP3_CONF_ARGS} \
+ && CC="${CC}" \
+ ac_cv_path_CC="${CC}" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="-I${PREFIX}/include -I${PREFIX}/include/gd" \
+ LDFLAGS=-L${PREFIX}/lib \
+ ./configure ${PHP3_CONF_ARGS} \
&& ${ECHO_MSG} "===> Building for PHP-${VERSION_PHP3}" \
&& ${MAKE} install \
&& ${ECHO_MSG} "===> Configuring for Apache-${VERSION_APACHE}"
@@ -132,9 +136,9 @@ clean:
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
fi; \
fi
- @${RM} -f Makefile.inc
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-.if exists(Makefile.inc)
-.include "Makefile.inc"
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
.include <bsd.port.mk>