summaryrefslogtreecommitdiff
path: root/databases/db3
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-07-10 03:01:38 +0000
committergrant <grant@pkgsrc.org>2004-07-10 03:01:38 +0000
commit234b8d1088cc013abe19776833e84229c19e7a12 (patch)
treeff1aaa3aa623b05963195508d749e322135a49c4 /databases/db3
parentaf606127e5a7379ed1047237305fa0a40991e0f2 (diff)
downloadpkgsrc-234b8d1088cc013abe19776833e84229c19e7a12.tar.gz
provide BUILDLINK_CPPFLAGS, LDFLAGS and LIBS for each pkgsrc db
implementation.
Diffstat (limited to 'databases/db3')
-rw-r--r--databases/db3/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/db3/buildlink3.mk b/databases/db3/buildlink3.mk
index f28514e4db2..dec45804de9 100644
--- a/databases/db3/buildlink3.mk
+++ b/databases/db3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2004/07/07 08:45:39 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2004/07/10 03:01:38 grant Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB3_BUILDLINK3_MK:= ${DB3_BUILDLINK3_MK}+
@@ -21,7 +21,10 @@ BUILDLINK_TRANSFORM+= l:db-3:db3
USE_DB185?= yes
. if !empty(USE_DB185:M[yY][eE][sS])
BUILDLINK_TRANSFORM+= l:db:db3
+BUILDLINK_CPPFLAGS.db3= -I${BUILDLINK_PREFIX.db3}/${BUILDLINK_INCDIRS.db3}
. endif
+BUILDLINK_LDFLAGS.db3= -L${BUILDLINK_PREFIX.db3}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db3}/lib
+BUILDLINK_LIBS.db3= -ldb3
.endif # DB3_BUILDLINK3_MK
.include "../../mk/pthread.buildlink3.mk"