diff options
author | dirk <dirk@FreeBSD.org> | 2001-06-24 19:34:17 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-06-24 19:34:17 +0800 |
commit | 04a335ab43d72d5ba4cc982a6b2a95bd3a440b9e (patch) | |
tree | acd8b42a10cd34b815c3280df1a5b8656152b64c /www | |
parent | 3b4911a43edce2f0b7912f4f0652e7dc26ed7b49 (diff) | |
download | freebsd-ports-gnome-04a335ab43d72d5ba4cc982a6b2a95bd3a440b9e.tar.gz freebsd-ports-gnome-04a335ab43d72d5ba4cc982a6b2a95bd3a440b9e.tar.zst freebsd-ports-gnome-04a335ab43d72d5ba4cc982a6b2a95bd3a440b9e.zip |
Add XSLT support (via sablotron) and - as a sideeffect - iconv support.
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_php4/scripts/configure.php | 19 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 20c1317c64bb..e05851470ad8 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -30,9 +30,11 @@ OpenLDAP "OpenLDAP support" OFF \ OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ +XSLT "Sablotron support (implies XML and iconv)" OFF \ FTP "File Transfer Protocol support" OFF \ CURL "CURL support" OFF \ gettext "gettext library support" OFF \ +iconv "iconv support" OFF \ pspell "pspell support" OFF \ japanese "jstring and mbregex module" OFF \ YP "YP/NIS support" OFF \ @@ -174,6 +176,18 @@ while [ "$1" ]; do \"XML\") echo "LIB_DEPENDS+= expat.2:\${PORTSDIR}/textproc/expat2" echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}" + XML=1 + ;; + \"XSLT\") + echo "LIB_DEPENDS+= sablot.60:\${PORTSDIR}/textproc/sablotron" + echo "CONFIGURE_ARGS+=--with-sablot=\${PREFIX}" + echo "CONFIGURE_ARGS+=--with-expat-dir=\${PREFIX}" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + if [ -z "$ICONV" ]; then + set $* \"iconv\" + fi ;; \"FTP\") echo "CONFIGURE_ARGS+=--enable-ftp" @@ -186,6 +200,11 @@ while [ "$1" ]; do echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext" echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}" ;; + \"iconv\") + echo "LIB_DEPENDS+= iconv.2:\${PORTSDIR}/converters/iconv" + echo "CONFIGURE_ARGS+=--with-iconv=\${PREFIX}" + ICONV=1 + ;; \"pspell\") echo "LIB_DEPENDS+= pspell.4:\${PORTSDIR}/textproc/pspell" echo "CONFIGURE_ARGS+=--with-pspell=\${PREFIX}" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 20c1317c64bb..e05851470ad8 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -30,9 +30,11 @@ OpenLDAP "OpenLDAP support" OFF \ OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ +XSLT "Sablotron support (implies XML and iconv)" OFF \ FTP "File Transfer Protocol support" OFF \ CURL "CURL support" OFF \ gettext "gettext library support" OFF \ +iconv "iconv support" OFF \ pspell "pspell support" OFF \ japanese "jstring and mbregex module" OFF \ YP "YP/NIS support" OFF \ @@ -174,6 +176,18 @@ while [ "$1" ]; do \"XML\") echo "LIB_DEPENDS+= expat.2:\${PORTSDIR}/textproc/expat2" echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}" + XML=1 + ;; + \"XSLT\") + echo "LIB_DEPENDS+= sablot.60:\${PORTSDIR}/textproc/sablotron" + echo "CONFIGURE_ARGS+=--with-sablot=\${PREFIX}" + echo "CONFIGURE_ARGS+=--with-expat-dir=\${PREFIX}" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + if [ -z "$ICONV" ]; then + set $* \"iconv\" + fi ;; \"FTP\") echo "CONFIGURE_ARGS+=--enable-ftp" @@ -186,6 +200,11 @@ while [ "$1" ]; do echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext" echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}" ;; + \"iconv\") + echo "LIB_DEPENDS+= iconv.2:\${PORTSDIR}/converters/iconv" + echo "CONFIGURE_ARGS+=--with-iconv=\${PREFIX}" + ICONV=1 + ;; \"pspell\") echo "LIB_DEPENDS+= pspell.4:\${PORTSDIR}/textproc/pspell" echo "CONFIGURE_ARGS+=--with-pspell=\${PREFIX}" |