From owner-freebsd-questions@FreeBSD.ORG  Sat Aug 11 18:03:34 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A6DF216A417
	for <freebsd-questions@freebsd.org>;
	Sat, 11 Aug 2007 18:03:34 +0000 (UTC)
	(envelope-from swhetzel@gmail.com)
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186])
	by mx1.freebsd.org (Postfix) with ESMTP id 160BE13C4A7
	for <freebsd-questions@freebsd.org>;
	Sat, 11 Aug 2007 18:03:33 +0000 (UTC)
	(envelope-from swhetzel@gmail.com)
Received: by fk-out-0910.google.com with SMTP id b27so1152891fka
	for <freebsd-questions@freebsd.org>;
	Sat, 11 Aug 2007 11:03:32 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=GswgiWBaiUQFX9Ga+6IQS//l8Av8lUPZ7zGy/VZ+HEn3pXmnWLRM4DRls04mTdw+ObuAHmLj20ecn5jd0wGE7M/Ml3vZuzjh9f1vPTy+05o5dwiXQKk4LLwHiXyBZ5/qUx15Mq502DAltfnx++4XhNG8L+RIFezgDhTKuFMxQFE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=Z1cQomJABj5plNy9hf9nJoHAbInDvEQLjmIsBEzGOMvXj1OaUNRsw9IQD/dfbuslk+IZhBAS7Jiekws3U+rZVE7BuTmMSazpQ8UQycTmwBCS2OYONUyRf9US2wabgyebw7xX12jYxw9h/I7DSU7JzRJhuDh0H76G99oR5MqWoLc=
Received: by 10.86.100.7 with SMTP id x7mr2982402fgb.1186855412766;
	Sat, 11 Aug 2007 11:03:32 -0700 (PDT)
Received: by 10.86.59.6 with HTTP; Sat, 11 Aug 2007 11:03:32 -0700 (PDT)
Message-ID: <790a9fff0708111103y2c178125iacc5d4ec1395bb07@mail.gmail.com>
Date: Sat, 11 Aug 2007 13:03:32 -0500
From: "Scot Hetzel" <swhetzel@gmail.com>
To: "Hajimu UMEMOTO" <ume@freebsd.org>
In-Reply-To: <yge1weadkp7.wl%ume@mahoroba.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <70f41ba20708110931i4262c224kd0479290616c4fa8@mail.gmail.com>
	<46BDEA06.9030503@delphij.net>
	<70f41ba20708111013g296134ecw57bf152846718e91@mail.gmail.com>
	<790a9fff0708111037m1d25e164ma760a286f6d70cb8@mail.gmail.com>
	<yge1weadkp7.wl%ume@mahoroba.org>
Cc: krion@freebsd.org, Xin LI <delphij@delphij.net>,
	freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject: Re: request add db45/db46 support to mail/exim port
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Aug 2007 18:03:34 -0000

On 8/11/07, Hajimu UMEMOTO <ume@freebsd.org> wrote:
> Hi,
>
> >>>>> On Sat, 11 Aug 2007 12:37:18 -0500
> >>>>> "Scot Hetzel" <swhetzel@gmail.com> said:
>
> swhetzel> Here's the correct code for BDB detection:
>
> swhetzel> USE_BDB= 40+
>
> Why do you specify USE_BDB as 40+, explicitly?  Since, it is defined
> as 41+ in bsd.database.mk, I believe USE_BDB=yes is enough.
>
I believe when I made the change to bsd.database.mk, and then patched
all of the BDB using ports, I had put the lowest version that the port
 supported into USE_BDB.

USE_BDB=yes would also work and allow the port to show a dependancy on
the default BDB version instead of the lowest BDB version.  Also,
INVALID_BDB_VER takes care of excluding BDB versions that the port
doesn't work with.

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.