pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Added _VARGROUPS and the source of the error message.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7735ccf36094
branches:  trunk
changeset: 550680:7735ccf36094
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Nov 26 09:10:30 2008 +0000

description:
Added _VARGROUPS and the source of the error message.

diffstat:

 mk/bdb.buildlink3.mk |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r f30f86bf0b7d -r 7735ccf36094 mk/bdb.buildlink3.mk
--- a/mk/bdb.buildlink3.mk      Wed Nov 26 08:35:01 2008 +0000
+++ b/mk/bdb.buildlink3.mk      Wed Nov 26 09:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bdb.buildlink3.mk,v 1.21 2008/01/31 12:45:08 rillig Exp $
+# $NetBSD: bdb.buildlink3.mk,v 1.22 2008/11/26 09:10:30 rillig Exp $
 #
 # This Makefile fragment is meant to be included by packages that
 # require a Berkeley DB (BDB) implementation and that are not restricted
@@ -59,6 +59,11 @@
 
 .if !empty(BDB_BUILDLINK3_MK:M+)
 
+_VARGROUPS+=   bdb
+_USER_VARS.bdb=        BDB_DEFAULT BDB185_DEFAULT
+_PKG_VARS.bdb= BDB_ACCEPTED
+_SYS_VARS.bdb= BDB_TYPE BDBBASE BDB_LIBS
+
 # If the package specified a list of acceptable Berkeley DB packages,
 # set USE_DB185 to yes if db1 is included, and otherwise no, thus
 # preferring to use db1.  Assume that the package's configure process
@@ -127,7 +132,7 @@
 
 .if ${BDB_TYPE} == "none"
 PKG_FAIL_REASON=       \
-       "${_BDB_TYPE} is not an acceptable Berkeley DB type for ${PKGNAME}."
+       "[bdb.buildlink3.mk] ${_BDB_TYPE} is not an acceptable Berkeley DB type for ${PKGNAME}."
 .elif ${BDB_TYPE} == "db1"
 BUILDLINK_PACKAGES:=           ${BUILDLINK_PACKAGES:Ndb1}
 BUILDLINK_PACKAGES+=           db1



Home | Main Index | Thread Index | Old Index