summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-09-11 15:25:13 +0000
committerwiz <wiz@pkgsrc.org>2002-09-11 15:25:13 +0000
commit3e7767d385b13ecb500a9f345182350a29b6ab8b (patch)
tree3a1a50d109bee3ab45f9e3e279254e3dabd09b39 /databases
parent72b16d7419c77e3bc0f662851bf8229d60063b78 (diff)
downloadpkgsrc-3e7767d385b13ecb500a9f345182350a29b6ab8b.tar.gz
Add buildlink2.mk.
Diffstat (limited to 'databases')
-rw-r--r--databases/db4/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/db4/buildlink2.mk b/databases/db4/buildlink2.mk
new file mode 100644
index 00000000000..8b8ddf3707b
--- /dev/null
+++ b/databases/db4/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/11 15:25:13 wiz Exp $
+#
+
+.if !defined(DB4_BUILDLINK2_MK)
+DB4_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= db4
+BUILDLINK_DEPENDS.db4?= db4>=4.0.14
+BUILDLINK_PKGSRCDIR.db4?= ../../databases/db4
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.db4=db4
+BUILDLINK_PREFIX.db4_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.db4+= include/db4/cxx_common.h
+BUILDLINK_FILES.db4+= include/db4/cxx_except.h
+BUILDLINK_FILES.db4+= include/db4/db.h
+BUILDLINK_FILES.db4+= include/db4/db_cxx.h
+BUILDLINK_FILES.db4+= lib/libdb4.*
+BUILDLINK_FILES.db4+= lib/libdb4_cxx.*
+
+BUILDLINK_TARGETS+= db4-buildlink
+
+db4-buildlink: _BUILDLINK_USE
+
+.endif # DB4_BUILDLINK2_MK