pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/dbh bl3ify and add explicit dependency on pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69fe6932f5fd
branches:  trunk
changeset: 470566:69fe6932f5fd
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Mar 10 09:46:50 2004 +0000

description:
bl3ify and add explicit dependency on pkgconfig.

diffstat:

 databases/dbh/Makefile      |   5 +++--
 databases/dbh/buildlink3.mk |  18 ++++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 797f89668d1b -r 69fe6932f5fd databases/dbh/Makefile
--- a/databases/dbh/Makefile    Wed Mar 10 08:14:58 2004 +0000
+++ b/databases/dbh/Makefile    Wed Mar 10 09:46:50 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/14 18:26:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/10 09:46:50 xtraeme Exp $
 
 DISTNAME=              dbh_1.0-15
 PKGNAME=               dbh-1.0.15
@@ -10,7 +10,7 @@
 COMMENT=               Library to create disk based Hashtables
 
 GNU_CONFIGURE=         yes
-USE_BUILDLINK2=                yes
+USE_BUILDLINK3=                yes
 USE_LIBTOOL=           yes
 PKGCONFIG_OVERRIDE=    src/dbh-1.0.pc.in
 
@@ -22,4 +22,5 @@
        cd ${WRKSRC} && ${INSTALL_DATA} doc/dbh-hash-tables.html \
                ${PREFIX}/share/doc/dbh/html
 
+.include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 797f89668d1b -r 69fe6932f5fd databases/dbh/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/dbh/buildlink3.mk       Wed Mar 10 09:46:50 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/10 09:46:50 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+DBH_BUILDLINK3_MK:=    ${DBH_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    dbh
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ndbh}
+BUILDLINK_PACKAGES+=   dbh
+
+.if !empty(DBH_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.dbh+=                dbh>=1.0.14
+BUILDLINK_PKGSRCDIR.dbh?=      ../../databases/dbh
+.endif # DBH_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index