diff options
Diffstat (limited to 'textproc/libxml')
-rw-r--r-- | textproc/libxml/Makefile | 10 | ||||
-rw-r--r-- | textproc/libxml/buildlink3.mk | 18 |
2 files changed, 23 insertions, 5 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile index a1b60a9f498..a0f75909b07 100644 --- a/textproc/libxml/Makefile +++ b/textproc/libxml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2004/02/14 18:26:29 jmmv Exp $ +# $NetBSD: Makefile,v 1.31 2004/02/15 12:27:10 jlam Exp $ # DISTNAME= libxml-1.8.17 @@ -11,10 +11,10 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://xmlsoft.org/ COMMENT= XML parser, mainly used by the GNOME project -USE_BUILDLINK2= YES -GNU_CONFIGURE= YES -USE_LIBTOOL= YES +USE_BUILDLINK3= yes +GNU_CONFIGURE= yes +USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= libxml.pc.in -.include "../../devel/zlib/buildlink2.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/libxml/buildlink3.mk b/textproc/libxml/buildlink3.mk new file mode 100644 index 00000000000..89c5dc0ea65 --- /dev/null +++ b/textproc/libxml/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/15 12:27:10 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBXML_BUILDLINK3_MK:= ${LIBXML_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libxml +.endif + +.if !empty(LIBXML_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= libxml +BUILDLINK_DEPENDS.libxml+= libxml>=1.8.11 +BUILDLINK_PKGSRCDIR.libxml?= ../../textproc/libxml + +. include "../../devel/zlib/buildlink3.mk" +.endif # LIBXML_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |