diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-01 10:28:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-01 10:28:48 +0000 |
commit | 1d4345080cac2a1e68b0dfbbaca86e5cb88bf375 (patch) | |
tree | 76e2b6677e44cff7f34d657fb38b58ac70695bee /textproc | |
parent | beb6679f7f39e9a08db2c2b418eaf1e424b1b780 (diff) | |
download | pkgsrc-1d4345080cac2a1e68b0dfbbaca86e5cb88bf375.tar.gz |
bl3ify
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxml2/Makefile | 8 | ||||
-rw-r--r-- | textproc/libxml2/buildlink3.mk | 19 |
2 files changed, 23 insertions, 4 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 81f1d02f961..fa9f66bb73b 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2004/01/31 22:13:52 xtraeme Exp $ +# $NetBSD: Makefile,v 1.45 2004/02/01 10:28:48 jlam Exp $ DISTNAME= libxml2-${LIBXML_VERSION} CATEGORIES= textproc @@ -9,7 +9,7 @@ MAINTAINER= xtraeme@NetBSD.org HOMEPAGE= http://xmlsoft.org/ COMMENT= XML parser library from the GNOME project -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_GNU_TOOLS+= make USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/libtool @@ -39,8 +39,8 @@ TEST_TARGET= check CFLAGS+= -DXML_SGML_DEFAULT_CATALOG=\"\\\"${SGML_DEFAULT_CATALOG}\\\"\" CFLAGS+= -DXML_XML_DEFAULT_CATALOG=\"\\\"${XML_DEFAULT_CATALOG}\\\"\" -.include "../../devel/zlib/buildlink2.mk" -.include "../../converters/libiconv/buildlink2.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/libxml2/buildlink3.mk b/textproc/libxml2/buildlink3.mk new file mode 100644 index 00000000000..3bebb2ed454 --- /dev/null +++ b/textproc/libxml2/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/01 10:28:48 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBXML2_BUILDLINK3_MK:= ${LIBXML2_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libxml2 +.endif + +.if !empty(LIBXML2_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= libxml2 +BUILDLINK_DEPENDS.libxml2?= libxml2>=2.6.2 +BUILDLINK_PKGSRCDIR.libxml2?= ../../textproc/libxml2 + +. include "../../devel/zlib/buildlink3.mk" +. include "../../converters/libiconv/buildlink3.mk" +.endif # LIBXML2_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |