summaryrefslogtreecommitdiff
path: root/databases/db4/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db4/buildlink3.mk')
-rw-r--r--databases/db4/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk
index dc8cecc65fe..e8796b5cd5c 100644
--- a/databases/db4/buildlink3.mk
+++ b/databases/db4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2004/07/07 08:45:39 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2004/07/10 03:01:38 grant Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+
@@ -25,7 +25,10 @@ USE_DB185?= yes
#
BUILDLINK_DEPENDS.db4+= db4>=4.2.52nb1
BUILDLINK_TRANSFORM+= l:db:db4
+BUILDLINK_CPPFLAGS.db4= -I${BUILDLINK_PREFIX.db4}/${BUILDLINK_INCDIRS.db4}
. endif
+BUILDLINK_LDFLAGS.db4= -L${BUILDLINK_PREFIX.db4}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db4}/lib
+BUILDLINK_LIBS.db4= -ldb4
.endif # DB4_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}