summaryrefslogtreecommitdiff
path: root/databases/tdb
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-02-19 11:22:53 +0000
committerwiz <wiz@pkgsrc.org>2004-02-19 11:22:53 +0000
commitf6ab56c5da3c0853de4cb04f1640c8215c098cea (patch)
tree198e81ac4cac147e53339ad35e2d8b8a5d90235b /databases/tdb
parentc615341f6b7390f4d6db9477ebfd6009015c03f5 (diff)
downloadpkgsrc-f6ab56c5da3c0853de4cb04f1640c8215c098cea.tar.gz
Convert to buildlink3.
Diffstat (limited to 'databases/tdb')
-rw-r--r--databases/tdb/Makefile4
-rw-r--r--databases/tdb/buildlink3.mk22
2 files changed, 24 insertions, 2 deletions
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile
index 84e6728f93d..4d2952199eb 100644
--- a/databases/tdb/Makefile
+++ b/databases/tdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/02/14 17:21:36 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/19 11:28:21 wiz Exp $
#
DISTNAME= tdb-1.0.6
@@ -10,7 +10,7 @@ HOMEPAGE= http://www.sourceforge.net/projects/tdb/
COMMENT= Small database system which uses files to store data
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
diff --git a/databases/tdb/buildlink3.mk b/databases/tdb/buildlink3.mk
new file mode 100644
index 00000000000..05ee66cf07a
--- /dev/null
+++ b/databases/tdb/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:28:21 wiz Exp $
+#
+# This Makefile fragment is included by packages that use tdb.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TDB_BUILDLINK3_MK:= ${TDB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= tdb
+.endif
+
+.if !empty(TDB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= tdb
+BUILDLINK_DEPENDS.tdb+= tdb>=1.0.6
+BUILDLINK_PKGSRCDIR.tdb?= ../../databases/tdb
+
+.endif # TDB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}