diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1998-12-23 00:44:50 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1998-12-23 00:44:50 +0000 |
commit | 440a8f9af955ef65e44fe6d9df2fd814550a9156 (patch) | |
tree | e610fbd38677caf49febded2c9453028bacffc24 /www/mod_php4/Makefile | |
parent | 7bf360d58129fdee8fd3088c55ae2cee2f06b9f4 (diff) | |
download | ports-440a8f9af955ef65e44fe6d9df2fd814550a9156.tar.gz ports-440a8f9af955ef65e44fe6d9df2fd814550a9156.zip |
- 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 <Kurt@OpenLDAP.Org>
- upgrade to mod_ssl-2.1.3
Notes
Notes:
svn path=/head/; revision=15496
Diffstat (limited to 'www/mod_php4/Makefile')
-rw-r--r-- | www/mod_php4/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
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 <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> |