diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1999-07-30 21:07:03 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1999-07-30 21:07:03 +0000 |
commit | 71556202efc170224b3c7e33c80d78341c9420e8 (patch) | |
tree | 9e279dff4f24151ec08b4f2f8dff45fb25db7662 /www/mod_php4/scripts/configure.php | |
parent | Upgrade to 2.0. (diff) |
- upgrade to PHP-3.0.12
- use new pdflib-2.0
Notes
Notes:
svn path=/head/; revision=20405
Diffstat (limited to '')
-rw-r--r-- | www/mod_php4/scripts/configure.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index ce0bdcc14747..d746334a724c 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -14,7 +14,7 @@ FreeType "PHP3: TrueType font rendering (implies GD)" OFF \ zlib "PHP3: zlib library support" ON \ mcrypt "PHP3: Encryption support" OFF \ mhash "PHP3: Crypto-hashing support" OFF \ -pdflib "PHP3: pdflib support" OFF \ +pdflib "PHP3: pdflib support (implies zlib)" OFF \ IMAP "PHP3: IMAP support" OFF \ MySQL "PHP3: MySQL database support" ON \ PostgreSQL "PHP3: PostgreSQL database support" OFF \ @@ -62,6 +62,7 @@ while [ "$1" ]; do ;; \"zlib\") echo "PHP3_CONF_ARGS+= --with-zlib" + ZLIB=1 ;; \"mcrypt\") echo "LIB_DEPENDS+= mcrypt.2:\${PORTSDIR}/security/libmcrypt" @@ -72,8 +73,13 @@ while [ "$1" ]; do echo "PHP3_CONF_ARGS+= --with-mhash=\${PREFIX}" ;; \"pdflib\") - echo "BUILD_DEPENDS+= \${PREFIX}/lib/libpdf.a:\${PORTSDIR}/print/pdflib" - echo "PHP3_CONF_ARGS+= --with-pdflib=\${PREFIX}" + echo "LIB_DEPENDS+= pdf.2:\${PORTSDIR}/print/pdflib" + echo "PHP3_CONF_ARGS+= --with-pdflib=\${PREFIX} \\" + echo " --with-jpeg-dir=\${PREFIX} \\" + echo " --with-tiff-dir=\${PREFIX}" + if [ -z "$ZLIB" ]; then + set $* \"zlib\" + fi ;; \"IMAP\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libc-client4.a:\${PORTSDIR}/mail/imap-uw" |