summaryrefslogtreecommitdiff
path: root/databases/db
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-31 10:09:24 +0000
committerrillig <rillig@pkgsrc.org>2006-05-31 10:09:24 +0000
commit4d6c38255b9e026e3bbbc90cd38a5302e8bacf21 (patch)
tree60203d4b4e6e0428627751d1716ab158fcc6e194 /databases/db
parentf8e7af8de129f6e01fae94286499f95cf3e9ad8d (diff)
downloadpkgsrc-4d6c38255b9e026e3bbbc90cd38a5302e8bacf21.tar.gz
It suffices to load bsd.prefs.mk once.
Diffstat (limited to 'databases/db')
-rw-r--r--databases/db/buildlink3.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/db/buildlink3.mk b/databases/db/buildlink3.mk
index 6e52b338902..8d2082681e2 100644
--- a/databases/db/buildlink3.mk
+++ b/databases/db/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.21 2006/04/12 10:27:04 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2006/05/31 10:09:24 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB_BUILDLINK3_MK:= ${DB_BUILDLINK3_MK}+
-.include "../../mk/bsd.prefs.mk"
-
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= db2
.endif
@@ -19,6 +17,7 @@ BUILDLINK_PKGSRCDIR.db2?= ../../databases/db
BUILDLINK_INCDIRS.db2?= include/db2
BUILDLINK_LDADD.db2= -ldb2
+. include "../../mk/bsd.prefs.mk"
. if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
BUILDLINK_LIBS.db2= ${BUILDLINK_LDADD.db2}
BUILDLINK_TRANSFORM+= l:db:db2