aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php5
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-05-10 15:32:30 +0800
committerdirk <dirk@FreeBSD.org>2001-05-10 15:32:30 +0800
commitccc6975273b9c18ebfd711ad62d7d9114ff8c97a (patch)
tree65135be0402d308ef473453b7bd0c794695b3944 /www/mod_php5
parent10a1b378eb292d4d7bafe057b71861fcd97cfee9 (diff)
downloadfreebsd-ports-gnome-ccc6975273b9c18ebfd711ad62d7d9114ff8c97a.tar.gz
freebsd-ports-gnome-ccc6975273b9c18ebfd711ad62d7d9114ff8c97a.tar.zst
freebsd-ports-gnome-ccc6975273b9c18ebfd711ad62d7d9114ff8c97a.zip
Fix XML support. Depend on textproc/expat2 instead of texproc/expat.
PR: ports/27076 Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/Makefile1
-rw-r--r--www/mod_php5/scripts/configure.php4
2 files changed, 2 insertions, 3 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 2609f81fe45a..c3bc71aff98f 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= mod_php4
PORTVERSION= 4.0.5
+PORTREVISION= 1
CATEGORIES?= www
MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
http://php.he.net/${PHP_DISTDIR}/ \
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 1f731e1745f4..d962291a7be9 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -173,9 +173,7 @@ while [ "$1" ]; do
LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
;;
\"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 "LIB_DEPENDS+= expat.2:\${PORTSDIR}/textproc/expat2"
echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}"
;;
\"FTP\")