pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70651ff8b334
branches:  trunk
changeset: 467473:70651ff8b334
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 01 10:28:48 2004 +0000

description:
bl3ify

diffstat:

 textproc/libxml2/Makefile      |   8 ++++----
 textproc/libxml2/buildlink3.mk |  19 +++++++++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r f90320f612ae -r 70651ff8b334 textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Sun Feb 01 10:17:21 2004 +0000
+++ b/textproc/libxml2/Makefile Sun Feb 01 10:28:48 2004 +0000
@@ -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 @@
 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 @@
 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 -r f90320f612ae -r 70651ff8b334 textproc/libxml2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libxml2/buildlink3.mk    Sun Feb 01 10:28:48 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index