1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Add option for XML support (via textproc/expat).

This commit is contained in:
Dirk Froemberg 1999-08-26 15:03:52 +00:00
parent 6fb1c8f14c
commit 39adcb0336
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20992
3 changed files with 21 additions and 0 deletions

View File

@ -21,6 +21,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \
mSQL "PHP: mSQL database support" OFF \
dBase "PHP: dBase database support" OFF \
OpenLDAP "PHP: OpenLDAP support" OFF \
XML "PHP: XML support" OFF \
2> /tmp/checklist.tmp.$$
retval=$?
@ -105,6 +106,12 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
;;
\"XML\")
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat"
echo "PHP_CONF_ARGS+= --with-xml=\${PREFIX}"
;;
\"modssl\")
cat << EOF
PKGNAME= apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}

View File

@ -21,6 +21,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \
mSQL "PHP: mSQL database support" OFF \
dBase "PHP: dBase database support" OFF \
OpenLDAP "PHP: OpenLDAP support" OFF \
XML "PHP: XML support" OFF \
2> /tmp/checklist.tmp.$$
retval=$?
@ -111,6 +112,12 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
;;
\"XML\")
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat"
echo "PHP_CONF_ARGS+= --with-xml=\${PREFIX}"
;;
\"modssl\")
cat << EOF
PKGNAME= apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}

View File

@ -21,6 +21,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \
mSQL "PHP: mSQL database support" OFF \
dBase "PHP: dBase database support" OFF \
OpenLDAP "PHP: OpenLDAP support" OFF \
XML "PHP: XML support" OFF \
2> /tmp/checklist.tmp.$$
retval=$?
@ -111,6 +112,12 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
;;
\"XML\")
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat"
echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat"
echo "PHP_CONF_ARGS+= --with-xml=\${PREFIX}"
;;
\"modssl\")
cat << EOF
PKGNAME= apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}