From 8f902ba8903fe95fc4c1ddd0204f726bc3ddf356 Mon Sep 17 00:00:00 2001 From: andreas Date: Sun, 13 Sep 1998 17:18:13 +0000 Subject: use patch-ak from apache3 port (erase pid file) and freetype support --- www/mod_php5/Makefile | 4 ++-- www/mod_php5/scripts/configure.php | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'www/mod_php5') diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 6e48ffe8eb1..2f409d19b4d 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 # -# $Id: Makefile,v 1.52 1998/09/01 18:38:05 andreas Exp $ +# $Id: Makefile,v 1.53 1998/09/01 21:04:57 andreas Exp $ # DISTNAME= apache_${APACHE_VER} @@ -13,7 +13,7 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/ \ http://www.php.net/distributions/ DISTFILES= apache_${APACHE_VER}.tar.gz php-${PHP3_VER}.tar.gz -MAINTAINER= ibex@physik.TU-Berlin.DE +MAINTAINER= Dirk Froemberg APACHE_VER= 1.3.1 PHP3_VER= 3.0.3 diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 2b140b8a411..e0519f423c8 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -8,9 +8,10 @@ fi --checklist "\n\ Please select desired options:" -1 -1 9 \ GD "GD library support" ON \ +FreeType "TrueType font rendering (implies GD)" OFF \ zlib "zlib library support" ON \ MySQL "MySQL database support" ON \ -PostgresSQL "PostgresSQL database support" OFF \ +PostgreSQL "PostgreSQL database support" OFF \ mSQL "mSQL database support" OFF \ dBase "dBase database support" OFF 2> /tmp/checklist.tmp.$$ @@ -38,6 +39,13 @@ while [ "$1" ]; do \"GD\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libgd.a:\${PORTSDIR}/graphics/gd" >> ${CURDIR}/Makefile.inc echo "PHP3_CONF_ARGS+= --with-gd" >> ${CURDIR}/Makefile.inc + GD=1 + ;; + \"FreeType\") + echo "LIB_DEPENDS+= ttf\\\\.2\\\\.:\${PORTSDIR}/print/freetype" >> ${CURDIR}/Makefile.inc + if [ -z "$GD" ]; then + set $* \"GD\" + fi ;; \"zlib\") echo "PHP3_CONF_ARGS+= --with-zlib" >> ${CURDIR}/Makefile.inc @@ -46,7 +54,7 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= mysql:\${PORTSDIR}/databases/mysql321" >> ${CURDIR}/Makefile.inc echo "PHP3_CONF_ARGS+= --with-mysql=\${PREFIX}" >> ${CURDIR}/Makefile.inc ;; - \"PostgresSQL\") + \"PostgreSQL\") echo "BUILD_DEPENDS+= \${PREFIX}/pgsql/bin/psql:\${PORTSDIR}/databases/postgresql" >> ${CURDIR}/Makefile.inc echo "PHP3_CONF_ARGS+= --with-pgsql=\${PREFIX}/pgsql" >> ${CURDIR}/Makefile.inc ;; -- cgit