pkgsrc/textproc/php-wddx/Makefile
joerg 8572e2517c Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv).
While going through the tree, fix some more packages which had similiar
issues with too strict conflicts, bump the revisions of those.
2006-06-04 16:26:54 +00:00

29 lines
716 B
Makefile

# $NetBSD: Makefile,v 1.11 2006/06/04 16:26:55 joerg Exp $
MODNAME= wddx
CATEGORIES+= textproc
COMMENT= PHP extension for WDDX support
CONFLICTS= php-wddx-[0-9]*
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 "../../mk/bsd.pkg.mk"