Add hooks for pdflib support.
This commit is contained in:
parent
e32e262806
commit
6d43c61d2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16204
3 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue