summaryrefslogtreecommitdiff
path: root/databases/db/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 07:17:14 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 07:17:14 +0000
commit9cbd62fd0ae1890790c971e914f6ff3cf6203177 (patch)
treeedbbed6f9491b43337c846644df6d1c3e8ce8f32 /databases/db/buildlink3.mk
parent4006dd8d3c16be15e01d264394098f7a0798db4c (diff)
downloadpkgsrc-9cbd62fd0ae1890790c971e914f6ff3cf6203177.tar.gz
Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
Diffstat (limited to 'databases/db/buildlink3.mk')
-rw-r--r--databases/db/buildlink3.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/db/buildlink3.mk b/databases/db/buildlink3.mk
index fe0d69f34e9..ead05325e46 100644
--- a/databases/db/buildlink3.mk
+++ b/databases/db/buildlink3.mk
@@ -1,19 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.8 2004/02/05 07:06:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2004/02/05 07:17:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB2_BUILDLINK3_MK:= ${DB2_BUILDLINK3_MK}+
+.include "../../mk/bsd.prefs.mk"
+
.if !empty(DB2_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= db
BUILDLINK_DEPENDS.db+= db>=2.7.3
BUILDLINK_PKGSRCDIR.db?= ../../databases/db
.endif # DB2_BUILDLINK3_MK
-.if defined(PREFER_PKGSRC)
-. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:Mdb)
+.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mdb)
BUILDLINK_USE_BUILTIN.db= NO
-. endif
.endif
.if !defined(BUILDLINK_USE_BUILTIN.db)