summaryrefslogtreecommitdiff
path: root/databases/edb
diff options
context:
space:
mode:
authorsnj <snj>2004-04-12 04:30:09 +0000
committersnj <snj>2004-04-12 04:30:09 +0000
commita8bd58bf946766b14f3357552405712e4ad7172c (patch)
tree97d376874f4acc297a5e2a4973e6bd4c3ed9bee2 /databases/edb
parente1ae697b16c4c83c1c501de7fe6b1b6fc061bbb3 (diff)
downloadpkgsrc-a8bd58bf946766b14f3357552405712e4ad7172c.tar.gz
Convert to buildlink3.
Diffstat (limited to 'databases/edb')
-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/+$//}