summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-26 22:34:09 +0000
committerjlam <jlam@pkgsrc.org>2002-09-26 22:34:09 +0000
commit5b4b9ee12a4ac2ebbb0aff7c3f1b9ccd2a5a2fd7 (patch)
treea91a143189a8faa0c3a92c5f698f05763bbe4043 /databases
parente59723c793e53cd48236160dcd788c421d0fbfac (diff)
downloadpkgsrc-5b4b9ee12a4ac2ebbb0aff7c3f1b9ccd2a5a2fd7.tar.gz
Add BUILDLINK_CPPFLAGS.<pkg> for these packages to help packages find
the db[23] headers.
Diffstat (limited to 'databases')
-rw-r--r--databases/db/buildlink2.mk4
-rw-r--r--databases/db3/buildlink2.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/databases/db/buildlink2.mk b/databases/db/buildlink2.mk
index 6bda1b892ae..3330aa6d24f 100644
--- a/databases/db/buildlink2.mk
+++ b/databases/db/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:20 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/09/26 22:34:09 jlam Exp $
.if !defined(DB_BUILDLINK2_MK)
DB_BUILDLINK2_MK= # defined
@@ -12,6 +12,8 @@ BUILDLINK_PREFIX.db_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.db= include/db2/*
BUILDLINK_FILES.db+= lib/libdb2.*
+BUILDLINK_CPPFLAGS.db= -I${BUILDLINK_PREFIX.db}/include/db2
+
BUILDLINK_TARGETS+= db-buildlink
db-buildlink: _BUILDLINK_USE
diff --git a/databases/db3/buildlink2.mk b/databases/db3/buildlink2.mk
index 490ca281e4f..92883ce54ca 100644
--- a/databases/db3/buildlink2.mk
+++ b/databases/db3/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:04 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/09/26 22:34:09 jlam Exp $
.if !defined(DB3_BUILDLINK2_MK)
DB3_BUILDLINK2_MK= # defined
@@ -14,6 +14,8 @@ BUILDLINK_FILES.db3+= include/db3/db.h
BUILDLINK_FILES.db3+= lib/libdb3.*
BUILDLINK_FILES.db3+= lib/libdb3_cxx.*
+BUILDLINK_CPPFLAGS.db3= -I${BUILDLINK_PREFIX.db3}/include/db3
+
BUILDLINK_TARGETS+= db3-buildlink
db3-buildlink: _BUILDLINK_USE