summaryrefslogtreecommitdiff
path: root/www/mod_php3
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-01-20 14:56:42 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-01-20 14:56:42 +0000
commit6d43c61d2af8cb29c606cdf565602c11e4b22fb9 (patch)
treecdc6329ba2d92c4af38e16eef3b3e0df71cadc34 /www/mod_php3
parentAdd pdflib. (diff)
Add hooks for pdflib support.
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/scripts/configure.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index aade154c1ab3..b901d389079e 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -12,6 +12,7 @@ modssl "Apache: SSL support" OFF \
GD "PHP3: GD library support" ON \
FreeType "PHP3: TrueType font rendering (implies GD)" OFF \
zlib "PHP3: zlib library support" ON \
+pdflib "PHP3: pdflib support" OFF \
MySQL "PHP3: MySQL database support" ON \
PostgreSQL "PHP3: PostgreSQL database support" OFF \
mSQL "PHP3: mSQL database support" OFF \
@@ -58,6 +59,10 @@ while [ "$1" ]; do
\"zlib\")
echo "PHP3_CONF_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
;;
+ \"pdflib\")
+ echo "BUILD_DEPENDS+= \${PREFIX}/lib/libpdf.a:\${PORTSDIR}/print/pdflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "PHP3_CONF_ARGS+= --with-pdflib=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ ;;
\"MySQL\")
echo "LIB_DEPENDS+= mysqlclient.5:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "PHP3_CONF_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc