summaryrefslogtreecommitdiff
path: root/databases/gdbm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-12 08:40:22 +0000
committerjlam <jlam@pkgsrc.org>2004-02-12 08:40:22 +0000
commit135989c99c0480d7c6eedb659c709fc32a03c976 (patch)
tree33ee470cff72b4f2de71f4fa3368fa7a85aeab3c /databases/gdbm
parentd05d579b1c0868b50e8c454cd078cfa6a79f83e9 (diff)
downloadpkgsrc-135989c99c0480d7c6eedb659c709fc32a03c976.tar.gz
bl3ify
Diffstat (limited to 'databases/gdbm')
-rw-r--r--databases/gdbm/Makefile4
-rw-r--r--databases/gdbm/buildlink3.mk16
2 files changed, 18 insertions, 2 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index 05541a6e71b..eb64f248329 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2003/08/09 10:38:23 seb Exp $
+# $NetBSD: Makefile,v 1.32 2004/02/12 08:40:22 jlam Exp $
#
DISTNAME= gdbm-1.8.3
@@ -9,7 +9,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gdbm/gdbm.html
COMMENT= The GNU database manager
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
diff --git a/databases/gdbm/buildlink3.mk b/databases/gdbm/buildlink3.mk
new file mode 100644
index 00000000000..9fd18737d0e
--- /dev/null
+++ b/databases/gdbm/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/12 08:40:23 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GDBM_BUILDLINK3_MK:= ${GDBM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gdbm
+.endif
+
+.if !empty(GDBM_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gdbm
+BUILDLINK_DEPENDS.gdbm+= gdbm>=1.8.3
+BUILDLINK_PKGSRCDIR.gdbm?= ../../databases/gdbm
+.endif # GDBM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}