summaryrefslogtreecommitdiff
path: root/www/mod_php5/scripts
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_php5/scripts
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_php5/scripts')
-rw-r--r--www/mod_php5/scripts/configure.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 2b140b8a4117..e0519f423c8a 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
;;