summaryrefslogtreecommitdiff
path: root/textproc/php-wddx
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-03-15 16:48:53 +0000
committertaca <taca@pkgsrc.org>2010-03-15 16:48:53 +0000
commit0e9936fbeefe5643976cfa76ef1ce6a8de1db36d (patch)
tree82f73c5e6fda13995d5cc8f9dd6b27863c341700 /textproc/php-wddx
parent7e9290b8e535f3225aa136560c7c7b15f5bb99bd (diff)
downloadpkgsrc-0e9936fbeefe5643976cfa76ef1ce6a8de1db36d.tar.gz
Remove the case of PKG_PHP_VERSION is 4.
No functional change.
Diffstat (limited to 'textproc/php-wddx')
-rw-r--r--textproc/php-wddx/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/textproc/php-wddx/Makefile b/textproc/php-wddx/Makefile
index 0bb21336fb9..de1f13821b7 100644
--- a/textproc/php-wddx/Makefile
+++ b/textproc/php-wddx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:51 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2010/03/15 16:48:53 taca Exp $
MODNAME= wddx
CATEGORIES+= textproc
@@ -9,6 +9,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-wddx-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_DIR}
USE_PHP_EXT_PATCHES= # defined
@@ -16,16 +17,7 @@ USE_PHP_EXT_PATCHES= # defined
CFLAGS+= -I${BUILDLINK_DIR}/include/libxml2 \
-I${BUILDLINK_DIR}/include/php/ext/date/lib
-
.include "../../lang/php/phpversion.mk"
-
-# link against libxml2 on PHP5
-.if ${PKG_PHP_VERSION} == 5
-CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_DIR}
.include "../../textproc/libxml2/buildlink3.mk"
-.else
-.include "../../textproc/expat/buildlink3.mk"
-.endif
-
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"