diff options
author | jdolecek <jdolecek> | 2004-11-05 21:44:44 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-11-05 21:44:44 +0000 |
commit | 1cd27189b44f599a5fac2348f7e87bda87eb27c7 (patch) | |
tree | 11002209375eeb513d918f9cd3af34b1eeee652b /textproc | |
parent | 79b99f15293ccd7b44c2f168981775a2fed0ce66 (diff) | |
download | pkgsrc-1cd27189b44f599a5fac2348f7e87bda87eb27c7.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" |