pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/php-wddx make build properly (now that the mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e364bae32c6d
branches: trunk
changeset: 511792:e364bae32c6d
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sat Apr 22 10:28:31 2006 +0000
description:
make build properly (now that the module contents are actually compiled)
and adjust to use libxml2 depends on PHP5
bump PKGREVISION
diffstat:
textproc/php-wddx/Makefile | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 9f08a5fadb57 -r e364bae32c6d textproc/php-wddx/Makefile
--- a/textproc/php-wddx/Makefile Sat Apr 22 10:27:05 2006 +0000
+++ b/textproc/php-wddx/Makefile Sat Apr 22 10:28:31 2006 +0000
@@ -1,13 +1,29 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:11:06 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/04/22 10:28:31 jdolecek Exp $
MODNAME= wddx
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES+= textproc
COMMENT= PHP extension for WDDX support
-CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_PREFIX.expat}
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+USE_PHP_EXT_PATCHES= # defined
+
+# appease some PHP build assumpsions
+CFLAGS+= -I${BUILDLINK_DIR}/include/libxml2 \
+ -I${BUILDLINK_DIR}/include/php/ext/date/lib
+
+
+.include "../../lang/php/phpversion.mk"
+
+# link against libxml2 on PHP5 (the code is using expat compat
+# build wrapper)
+.if ${PKG_PHP_VERSION} == 5
+.include "../../textproc/libxml2/buildlink3.mk"
+.else
+.include "../../textproc/expat/buildlink3.mk"
+.endif
.include "../../lang/php/ext.mk"
-.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index