summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db4')
-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