pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/894b56e265a3
branches:  trunk
changeset: 473886:894b56e265a3
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Apr 25 00:50:46 2004 +0000

description:
bl3ify

diffstat:

 textproc/sablotron/Makefile      |  10 +++++-----
 textproc/sablotron/buildlink3.mk |  21 +++++++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

diffs (62 lines):

diff -r 17bf30663052 -r 894b56e265a3 textproc/sablotron/Makefile
--- a/textproc/sablotron/Makefile       Sun Apr 25 00:48:39 2004 +0000
+++ b/textproc/sablotron/Makefile       Sun Apr 25 00:50:46 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2004/03/06 11:44:59 grant Exp $
+# $NetBSD: Makefile,v 1.28 2004/04/25 00:50:46 xtraeme Exp $
 
 DISTNAME=              Sablot-1.0.1
 PKGNAME=               ${DISTNAME:S/Sablot/sablotron/}
@@ -11,7 +11,7 @@
 
 BUILD_DEPENDS+=                p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
 USE_GNU_TOOLS+=                make
 USE_LANGUAGES=         c c++
@@ -19,7 +19,7 @@
 
 # sablotron needs iconv but assumes it is in libc, so add what
 # buildlink2 finds.
-LIBS+=                 ${_BLNK_ICONV_LDFLAGS}
+LIBS+=                 ${_BUILDLINK_LDADD.iconv}
 
 .include "../../mk/compiler.mk"
 
@@ -36,7 +36,7 @@
 LIBS+=                 -lstdc++ -lm
 .endif
 
-.include "../../converters/libiconv/buildlink2.mk"
-.include "../../textproc/expat/buildlink2.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 17bf30663052 -r 894b56e265a3 textproc/sablotron/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sablotron/buildlink3.mk  Sun Apr 25 00:50:46 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 00:50:46 xtraeme Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+SABLOTRON_BUILDLINK3_MK:=      ${SABLOTRON_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    sablotron
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nsablotron}
+BUILDLINK_PACKAGES+=   sablotron
+
+.if !empty(SABLOTRON_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sablotron+=  sablotron>=1.0
+BUILDLINK_PKGSRCDIR.sablotron?=        ../../textproc/sablotron
+.endif # SABLOTRON_BUILDLINK3_MK
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index