aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-09-14 01:18:13 +0800
committerandreas <andreas@FreeBSD.org>1998-09-14 01:18:13 +0800
commit8f902ba8903fe95fc4c1ddd0204f726bc3ddf356 (patch)
treec65050f687f52cf7c9f46c1dc04dc6176e444b64 /www/mod_php4
parent053e78f48cc8958799fc9b4c5cf8b4ea9321d3f7 (diff)
downloadfreebsd-ports-gnome-8f902ba8903fe95fc4c1ddd0204f726bc3ddf356.tar.gz
freebsd-ports-gnome-8f902ba8903fe95fc4c1ddd0204f726bc3ddf356.tar.zst
freebsd-ports-gnome-8f902ba8903fe95fc4c1ddd0204f726bc3ddf356.zip
use patch-ak from apache3 port (erase pid file)
and freetype support
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile4
-rw-r--r--www/mod_php4/scripts/configure.php12
2 files changed, 12 insertions, 4 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 6e48ffe8eb14..2f409d19b4dd 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.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 <ibex@physik.TU-Berlin.DE>
APACHE_VER= 1.3.1
PHP3_VER= 3.0.3
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 2b140b8a4117..e0519f423c8a 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/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
;;