pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/libxml bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/194d101347e5
branches:  trunk
changeset: 468602:194d101347e5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 15 12:27:10 2004 +0000

description:
bl3ify

diffstat:

 textproc/libxml/Makefile      |  10 +++++-----
 textproc/libxml/buildlink3.mk |  18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r b6a86d7f2063 -r 194d101347e5 textproc/libxml/Makefile
--- a/textproc/libxml/Makefile  Sun Feb 15 12:21:34 2004 +0000
+++ b/textproc/libxml/Makefile  Sun Feb 15 12:27:10 2004 +0000
@@ -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 @@
 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 -r b6a86d7f2063 -r 194d101347e5 textproc/libxml/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libxml/buildlink3.mk     Sun Feb 15 12:27:10 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index