summaryrefslogtreecommitdiff
path: root/www/mod_php3/scripts
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-01-02 17:17:29 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-01-02 17:17:29 +0000
commit86f7d83973aadb1729885f62edcf63d1a5bfccfc (patch)
tree6e32df59b08e60a1e7775682346c4f27d9958d1a /www/mod_php3/scripts
parentActivate gno3dtet (diff)
- Use CC and CFLAGS for first configure run.
- gd depends on freetype, now. So join gd and freetype support in one option.
Diffstat (limited to 'www/mod_php3/scripts')
-rw-r--r--www/mod_php3/scripts/configure.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index dabda8c17ea5..3a816191714e 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/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 \
@@ -58,15 +57,9 @@ while [ "$1" ]; do
;;
\"GD\")
echo "LIB_DEPENDS+= gd.0:\${PORTSDIR}/graphics/gd"
- echo "PHP_CONF_ARGS+= --with-gd=\${PREFIX}"
- GD=1
- ;;
- \"FreeType\")
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"