summaryrefslogtreecommitdiff
path: root/www/mod_php3
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1998-09-13 17:18:13 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1998-09-13 17:18:13 +0000
commit28a179bc5c1c1fff85f261aa26d547640c65460a (patch)
tree6de58f5303bc2c815f93682ad4655d6b6a129bd9 /www/mod_php3
parentUnbreak and update to 2.4.1. Now builds (with stubbed out chio functions) un... (diff)
use patch-ak from apache3 port (erase pid file)
and freetype support
Notes
Notes: svn path=/head/; revision=13096
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/Makefile4
-rw-r--r--www/mod_php3/scripts/configure.php12
2 files changed, 12 insertions, 4 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 6e48ffe8eb14..2f409d19b4dd 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/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_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index 2b140b8a4117..e0519f423c8a 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/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
;;