summaryrefslogtreecommitdiff
path: root/textproc/php4-xslt/Makefile
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-05 21:44:44 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-05 21:44:44 +0000
commitd7a6086867ba79779f1a873f7825195af422353c (patch)
tree11002209375eeb513d918f9cd3af34b1eeee652b /textproc/php4-xslt/Makefile
parentcc35f4ca5e714d8313001e78f03d36a2750a735e (diff)
downloadpkgsrc-d7a6086867ba79779f1a873f7825195af422353c.tar.gz
it safe to include "../../lang/php/ext.mk" after extension CONFIGURE_ARGS
setting now, do so for aesthetic reasons
Diffstat (limited to 'textproc/php4-xslt/Makefile')
-rw-r--r--textproc/php4-xslt/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
index 114cc35d6cf..6262b76cc3f 100644
--- a/textproc/php4-xslt/Makefile
+++ b/textproc/php4-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/10/31 21:28:51 jdolecek Exp $
+# $NetBSD: Makefile,v 1.14 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= xslt
CATEGORIES+= textproc
@@ -7,9 +7,6 @@ COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
USE_BUILDLINK3= YES
-PHP_VERSION_REQD= 4
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --enable-${MODNAME}
CONFIGURE_ARGS+= --with-${MODNAME}-sablot=${BUILDLINK_PREFIX.sablotron}
CONFIGURE_ARGS+= --with-expat-dir=${BUILDLINK_PREFIX.expat}
@@ -18,6 +15,7 @@ CONFIGURE_ARGS+= --with-expat-dir=${BUILDLINK_PREFIX.expat}
# or use the packaged iconv, as appropriate; using
# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
+.include "../../mk/bsd.prefs.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -35,5 +33,7 @@ post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
+PHP_VERSION_REQD= 4
+.include "../../lang/php/ext.mk"
.include "../../textproc/sablotron/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"