summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-12 04:30:09 +0000
committersnj <snj@pkgsrc.org>2004-04-12 04:30:09 +0000
commit2b6c9ff6f869ba7eba51121d75f644a224fe58f4 (patch)
tree97d376874f4acc297a5e2a4973e6bd4c3ed9bee2 /databases
parente5171dd25a93549541503545a30312e37148a55d (diff)
downloadpkgsrc-2b6c9ff6f869ba7eba51121d75f644a224fe58f4.tar.gz
Convert to buildlink3.
Diffstat (limited to 'databases')
-rw-r--r--databases/edb/Makefile6
-rw-r--r--databases/edb/buildlink2.mk19
-rw-r--r--databases/edb/buildlink3.mk18
3 files changed, 21 insertions, 22 deletions
diff --git a/databases/edb/Makefile b/databases/edb/Makefile
index b607e6ab1a1..179f71f8602 100644
--- a/databases/edb/Makefile
+++ b/databases/edb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/02/14 17:21:35 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2004/04/12 04:30:09 snj Exp $
#
DISTNAME= edb-1.0.3
@@ -12,10 +12,10 @@ COMMENT= Database abstraction layer to Berkeley databases
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GCC_SHLIB= YES
CONFIGURE_ARGS+= --enable-cxx
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/edb/buildlink2.mk b/databases/edb/buildlink2.mk
deleted file mode 100644
index fe0bc8d74dc..00000000000
--- a/databases/edb/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.4 2003/07/13 13:50:55 wiz Exp $
-
-.if !defined(EDB_BUILDLINK2_MK)
-EDB_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= edb
-BUILDLINK_DEPENDS.edb?= edb>=1.0.3nb3
-BUILDLINK_PKGSRCDIR.edb?= ../../databases/edb
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.edb=edb
-BUILDLINK_PREFIX.edb_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.edb= include/Edb.h
-BUILDLINK_FILES.edb+= lib/libedb.*
-
-BUILDLINK_TARGETS+= edb-buildlink
-
-edb-buildlink: _BUILDLINK_USE
-
-.endif # EDB_BUILDLINK2_MK
diff --git a/databases/edb/buildlink3.mk b/databases/edb/buildlink3.mk
new file mode 100644
index 00000000000..0fabe5fa378
--- /dev/null
+++ b/databases/edb/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 04:30:09 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EDB_BUILDLINK3_MK:= ${EDB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= edb
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nedb}
+BUILDLINK_PACKAGES+= edb
+
+.if !empty(EDB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.edb+= edb>=1.0.3nb3
+BUILDLINK_PKGSRCDIR.edb?= ../../databases/edb
+.endif # EDB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}