23 lines
640 B
Makefile
23 lines
640 B
Makefile
# $NetBSD: Makefile,v 1.24 2021/04/21 11:42:47 adam Exp $
|
|
|
|
MODNAME= wddx
|
|
CATEGORIES+= textproc
|
|
COMMENT= PHP extension for WDDX support
|
|
PKGREVISION= 3
|
|
|
|
CONFLICTS= php-wddx-[0-9]*
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
|
|
CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_DIR}
|
|
|
|
PHP_VERSIONS_ACCEPTED= 56 73
|
|
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"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|