pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/edb Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b36ada6235bf
branches: trunk
changeset: 472769:b36ada6235bf
user: snj <snj%pkgsrc.org@localhost>
date: Mon Apr 12 04:30:09 2004 +0000
description:
Convert to buildlink3.
diffstat:
databases/edb/Makefile | 6 +++---
databases/edb/buildlink2.mk | 19 -------------------
databases/edb/buildlink3.mk | 18 ++++++++++++++++++
3 files changed, 21 insertions(+), 22 deletions(-)
diffs (67 lines):
diff -r b5991393928a -r b36ada6235bf databases/edb/Makefile
--- a/databases/edb/Makefile Mon Apr 12 04:28:04 2004 +0000
+++ b/databases/edb/Makefile Mon Apr 12 04:30:09 2004 +0000
@@ -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 @@
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 -r b5991393928a -r b36ada6235bf databases/edb/buildlink2.mk
--- a/databases/edb/buildlink2.mk Mon Apr 12 04:28:04 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r b5991393928a -r b36ada6235bf databases/edb/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/edb/buildlink3.mk Mon Apr 12 04:30:09 2004 +0000
@@ -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/+$//}
Home |
Main Index |
Thread Index |
Old Index