summaryrefslogtreecommitdiff
path: root/databases/db
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-31 10:09:24 +0000
committerrillig <rillig>2006-05-31 10:09:24 +0000
commit9f0e120938af6ccac36793f330c4792653810e8f (patch)
tree60203d4b4e6e0428627751d1716ab158fcc6e194 /databases/db
parent611a1e1e78b990f022b9101acdd23a612b3ea4bb (diff)
downloadpkgsrc-9f0e120938af6ccac36793f330c4792653810e8f.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