From 440a8f9af955ef65e44fe6d9df2fd814550a9156 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Wed, 23 Dec 1998 00:44:50 +0000 Subject: - BATCH mode: if ${BATCH} is defined apache with a plain PHP3 module is created, i. e. no additional support for e. g. databases It is possible to build an apache13-php3 package now. - honor ${CC} and ${CFLAGS} while compiling PHP3 - make apache13-php3 ${WRKDIRPREFIX} clean - added OpenLDAP support Requested by: Kurt D. Zeilenga - upgrade to mod_ssl-2.1.3 --- www/mod_php4/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'www/mod_php4/Makefile') diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index e6d94e4b5098..46ebd302bbed 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 # -# $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 +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 -- cgit v1.2.3