aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4/scripts/configure.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php4/scripts/configure.php')
-rw-r--r--www/mod_php4/scripts/configure.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 0d64999efa95..69c82360556e 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -15,8 +15,7 @@ fi
Please select desired options:" -1 -1 14 \
tuning "Apache: performance tuning" OFF \
modssl "Apache: SSL support" OFF \
-GD "PHP: GD library support" OFF \
-FreeType "PHP: TrueType font rendering (implies GD)" OFF \
+GD "PHP: GD support & FreeType font rendering" OFF \
zlib "PHP: zlib library support" ON \
mcrypt "PHP: Encryption support" OFF \
mhash "PHP: Crypto-hashing support" OFF \
@@ -61,18 +60,9 @@ while [ "$1" ]; do
;;
\"nothing\")
echo "LIB_DEPENDS+= gd.0:\${PORTSDIR}/graphics/gd"
- echo "PHP_CONF_ARGS+= --with-gd=\${PREFIX}"
- GD=1
- ;;
- \"FreeType\")
- echo "FreeType is DISABLED for now. Ignoring." > /dev/stderr
- ;;
- \"nothing\")
echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype"
+ echo "PHP_CONF_ARGS+= --with-gd=\${PREFIX}"
echo "PHP_CONF_ARGS+= --with-ttf=\${PREFIX}"
- if [ -z "$GD" ]; then
- set $* \"GD\"
- fi
;;
\"zlib\")
echo "PHP_CONF_ARGS+= --with-zlib"