summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-20 07:20:40 +0000
committerjlam <jlam>2005-06-20 07:20:40 +0000
commit18ddcc60389038db63d88958f1a796327fca26f8 (patch)
tree03f0fd48bb895eb5a8b9311a24d2ea34d10e8016 /mk
parentbf0663beddad2f49611148bd3d14e514e203ea42 (diff)
downloadpkgsrc-18ddcc60389038db63d88958f1a796327fca26f8.tar.gz
Until pkgsrc gets a databases/db1 package, we must always prefer the
native db1 package because the alternative doesn't yet exist.
Diffstat (limited to 'mk')
-rw-r--r--mk/db1.builtin.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/db1.builtin.mk b/mk/db1.builtin.mk
index 4aef418388c..d4aefac6ed5 100644
--- a/mk/db1.builtin.mk
+++ b/mk/db1.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: db1.builtin.mk,v 1.11 2005/06/01 18:03:06 jlam Exp $
+# $NetBSD: db1.builtin.mk,v 1.12 2005/06/20 07:20:40 jlam Exp $
BUILTIN_PKG:= db1
@@ -30,6 +30,11 @@ MAKEVARS+= IS_BUILTIN.db1
### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
###
.if !defined(USE_BUILTIN.db1)
+# XXX
+# XXX Until pkgsrc gets a databases/db1 package, we must always prefer the
+# XXX native db1 package because the alternative doesn't yet exist.
+# XXX
+PREFER.db1= native
. if ${PREFER.db1} == "pkgsrc"
USE_BUILTIN.db1= no
. else