summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-09-04 21:40:09 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-09-04 21:40:09 +0000
commit8d696a35cb670088ee625ab6f11c8b983502e364 (patch)
treed011327256b787831fe6d3c933d17a8142c8d0db /textproc
parentccde6ffdba2ea41455e657f665ae6f5b56673127 (diff)
downloadpkgsrc-8d696a35cb670088ee625ab6f11c8b983502e364.tar.gz
this extension requires also php5-dom extension to actually load and work,
so add explicit DEPENDS and MESSAGE to that effect PKGREVISION not bumped, since this is a conveniency related change, not a functional change
Diffstat (limited to 'textproc')
-rw-r--r--textproc/php5-xsl/MESSAGE9
-rw-r--r--textproc/php5-xsl/Makefile5
2 files changed, 13 insertions, 1 deletions
diff --git a/textproc/php5-xsl/MESSAGE b/textproc/php5-xsl/MESSAGE
new file mode 100644
index 00000000000..1c76ad8c3dc
--- /dev/null
+++ b/textproc/php5-xsl/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/09/04 21:40:10 jdolecek Exp $
+
+To enable this module, DOM extension must also be enabled. Make sure PHP
+configuration file ${PKG_SYSCONFDIR}/php.ini contains also:
+
+ extension=dom.so
+
+===========================================================================
diff --git a/textproc/php5-xsl/Makefile b/textproc/php5-xsl/Makefile
index b6bd98163d9..45b111566bc 100644
--- a/textproc/php5-xsl/Makefile
+++ b/textproc/php5-xsl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/06/04 16:26:55 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2007/09/04 21:40:09 jdolecek Exp $
MODNAME= xsl
CATEGORIES+= textproc
@@ -8,6 +8,9 @@ CONFLICTS= php-xsl-[0-9]*
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
+# uses symbols from DOM extension, so add explicit depends
+DEPENDS+= php5-dom-*:../../textproc/php5-dom
+
# 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}