diff options
author | dirk <dirk@FreeBSD.org> | 2001-08-09 05:02:35 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-08-09 05:02:35 +0800 |
commit | 737ee1d07bdc9fc9fb92c1484d231d093ba6761b (patch) | |
tree | 6475d288ead64531eb275122b07cf91af1d00ad4 /www/mod_php5 | |
parent | 858daa17877af7c65d22abd11a67746057dd0c56 (diff) | |
download | freebsd-ports-gnome-737ee1d07bdc9fc9fb92c1484d231d093ba6761b.tar.gz freebsd-ports-gnome-737ee1d07bdc9fc9fb92c1484d231d093ba6761b.tar.zst freebsd-ports-gnome-737ee1d07bdc9fc9fb92c1484d231d093ba6761b.zip |
Move freetype support into GD support and switch to freetype2. GD
depends on freetype2 anyway.
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/scripts/configure.php | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 6d4450488241..40c068fceac4 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -14,7 +14,6 @@ else --checklist "\n\ Please select desired options:" -1 -1 16 \ GD "GD library support" OFF \ -FreeType "TrueType font rendering (implies GD)" OFF \ zlib "zlib library support" ON \ mcrypt "Encryption support" OFF \ mhash "Crypto-hashing support" OFF \ @@ -73,15 +72,13 @@ while [ "$1" ]; do case $1 in \"GD\") echo "LIB_DEPENDS+= gd.2:\${PORTSDIR}/graphics/gd" - echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX}" - GD=1 - ;; - \"FreeType\") - echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype" - echo "CONFIGURE_ARGS+=--with-ttf=\${PREFIX}" - if [ -z "$GD" ]; then - set $* \"GD\" - fi + echo "LIB_DEPENDS+= freetype.7:\${PORTSDIR}/print/freetype2" + echo "LIB_DEPENDS+= png.4:\${PORTSDIR}/graphics/png" + echo "LIB_DEPENDS+= jpeg.9:\${PORTSDIR}/graphics/jpeg" + echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX} \\" + echo " --with-freetype-dir=\${PREFIX} \\" + echo " --with-jpeg-dir=\${PREFIX} \\" + echo " --with-png-dir=\${PREFIX}" ;; \"zlib\") echo "CONFIGURE_ARGS+=--with-zlib" |