summaryrefslogtreecommitdiff
path: root/textproc/php-xsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php-xsl/Makefile')
-rw-r--r--textproc/php-xsl/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/textproc/php-xsl/Makefile b/textproc/php-xsl/Makefile
index 143c3964914..37eb1fe3a18 100644
--- a/textproc/php-xsl/Makefile
+++ b/textproc/php-xsl/Makefile
@@ -1,19 +1,15 @@
-# $NetBSD: Makefile,v 1.9 2015/03/20 16:33:28 taca Exp $
+# $NetBSD: Makefile,v 1.10 2017/04/05 12:33:48 fhajny Exp $
MODNAME= xsl
+PKGREVISION= 1
CATEGORIES+= textproc
COMMENT= PHP extension for XSLT functions
CONFLICTS= php-xsl-[0-9]*
-CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
-
-# uses symbols from DOM extension, so add explicit depends
-DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom
+USE_PHP_EXT_PATCHES= yes
-# build uses includes of the DOM extension, so need to extract that too
-EXTRACT_ELEMENTS= ${DISTNAME}/ext/${MODNAME} ${DISTNAME}/ext/dom
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODNAME}
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
.include "../../lang/php/ext.mk"
.include "../../textproc/libxslt/buildlink3.mk"