summaryrefslogtreecommitdiff
path: root/databases/db
diff options
context:
space:
mode:
authorgrant <grant>2004-07-10 03:01:38 +0000
committergrant <grant>2004-07-10 03:01:38 +0000
commit5cd78ae290333a38835a34ff87f10aaec913139e (patch)
treeff1aaa3aa623b05963195508d749e322135a49c4 /databases/db
parent141e0935f0cd1d964e2a681ccdc682c8411efdeb (diff)
downloadpkgsrc-5cd78ae290333a38835a34ff87f10aaec913139e.tar.gz
provide BUILDLINK_CPPFLAGS, LDFLAGS and LIBS for each pkgsrc db
implementation.
Diffstat (limited to 'databases/db')
-rw-r--r--databases/db/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/db/buildlink3.mk b/databases/db/buildlink3.mk
index 2899a742d60..a3120c167de 100644
--- a/databases/db/buildlink3.mk
+++ b/databases/db/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}+
DB_BUILDLINK3_MK:= ${DB_BUILDLINK3_MK}+
@@ -19,7 +19,10 @@ BUILDLINK_PKGSRCDIR.db2?= ../../databases/db
BUILDLINK_INCDIRS.db2?= include/db2
BUILDLINK_LIBDIRS.db2?= lib
BUILDLINK_TRANSFORM+= l:db:db2
+BUILDLINK_CPPFLAGS.db2= -I${BUILDLINK_PREFIX.db2}/${BUILDLINK_INCDIRS.db2}
. endif
+BUILDLINK_LDFLAGS.db2= -L${BUILDLINK_PREFIX.db2}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db2}/lib
+BUILDLINK_LIBS.db2= -ldb2
.endif # DB_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}