diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-11-05 21:44:44 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-11-05 21:44:44 +0000 |
commit | 478132b20640850ca1e38e5d990fa3072d39c43e (patch) | |
tree | 11002209375eeb513d918f9cd3af34b1eeee652b /textproc | |
parent | 0a1723c42ac3af53eb266dc8831771fc1f9e45b0 (diff) | |
download | pkgsrc-478132b20640850ca1e38e5d990fa3072d39c43e.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')
-rw-r--r-- | textproc/php4-domxml/Makefile | 7 | ||||
-rw-r--r-- | textproc/php4-xslt/Makefile | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/textproc/php4-domxml/Makefile b/textproc/php4-domxml/Makefile index 475973047b6..48b7117c831 100644 --- a/textproc/php4-domxml/Makefile +++ b/textproc/php4-domxml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/10/31 21:28:51 jdolecek Exp $ +# $NetBSD: Makefile,v 1.20 2004/11/05 21:44:44 jdolecek Exp $ MODNAME= domxml CATEGORIES+= textproc @@ -7,15 +7,14 @@ COMMENT= PHP4 extension for DOM support USE_BUILDLINK3= YES -PHP_VERSION_REQD= 4 -.include "../../lang/php/ext.mk" - CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_PREFIX.libxml2} CONFIGURE_ARGS+= --with-dom=shared,${BUILDLINK_PREFIX.libxml2} CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_PREFIX.zlib} CONFIGURE_ARGS+= --with-dom-xslt=${BUILDLINK_PREFIX.libxslt} CONFIGURE_ARGS+= --with-dom-exslt=${BUILDLINK_PREFIX.libxslt} +PHP_VERSION_REQD= 4 +.include "../../lang/php/ext.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxslt/buildlink3.mk" 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" |