diff options
| author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-08-08 21:02:35 +0000 |
|---|---|---|
| committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-08-08 21:02:35 +0000 |
| commit | 2cebc7343e23f5374b4a292f92e051d16c9d448b (patch) | |
| tree | db47d089f0dde795b9ab7e651ecfa12948a884d1 /www/mod_php5/scripts/configure.php | |
| parent | 046f47ada1b12dce4a83b2e0bf39e30a1820e1ce (diff) | |
Move freetype support into GD support and switch to freetype2. GD
depends on freetype2 anyway.
Diffstat (limited to 'www/mod_php5/scripts/configure.php')
| -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" |
