pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/php5-xsl this extension requires also php5-do...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c9037c5e136
branches:  trunk
changeset: 532934:2c9037c5e136
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Tue Sep 04 21:40:09 2007 +0000

description:
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:

 textproc/php5-xsl/MESSAGE  |  9 +++++++++
 textproc/php5-xsl/Makefile |  5 ++++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r d411d070e9f2 -r 2c9037c5e136 textproc/php5-xsl/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/php5-xsl/MESSAGE Tue Sep 04 21:40:09 2007 +0000
@@ -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 -r d411d070e9f2 -r 2c9037c5e136 textproc/php5-xsl/Makefile
--- a/textproc/php5-xsl/Makefile        Tue Sep 04 21:27:02 2007 +0000
+++ b/textproc/php5-xsl/Makefile        Tue Sep 04 21:40:09 2007 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index