From owner-freebsd-ports@FreeBSD.ORG Sat Aug 11 19:27:11 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D73216A417 for ; Sat, 11 Aug 2007 19:27:11 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 9115113C461 for ; Sat, 11 Aug 2007 19:27:10 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1170731fka for ; Sat, 11 Aug 2007 12:27:08 -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=KgQ/oxYyvFqi+aN+Wng9EK98rYrk9VE2rmLzE8EBG4aTR1boyn+gqNEw3DdnnsuIQMj7KmY+ZDHqGYwT5L+EZGOw6pg4T3dMZh7s6JyfCk/hdBpP4Mr6VQMSiZBUCW9Sab9JCHhF/ZUgkUGiVR5VVy76kkqXyxOTSJNbwQ8ILlU= 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=U/IlM/DSByHmmg1kRLT2ZSJPmkIS/plR4LYnZeX+T3QxX6YBmxmUfAifSYtYVCS61cotk2g02b08Lgy2mPTVHph/EemaVivi8DBPi+YIcT490ic+lW265/h/QKJ0aIj1U0QlFL2PNQNhE3Y10BlmIiPSti26uM4OzsXqjyzwd5o= Received: by 10.86.4.2 with SMTP id 2mr3357672fgd.1186860428613; Sat, 11 Aug 2007 12:27:08 -0700 (PDT) Received: by 10.86.59.6 with HTTP; Sat, 11 Aug 2007 12:27:08 -0700 (PDT) Message-ID: <790a9fff0708111227u35ce4b42w50b10a2a87eb9e66@mail.gmail.com> Date: Sat, 11 Aug 2007 14:27:08 -0500 From: "Scot Hetzel" To: "Hajimu UMEMOTO" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70f41ba20708110931i4262c224kd0479290616c4fa8@mail.gmail.com> <46BDEA06.9030503@delphij.net> <70f41ba20708111013g296134ecw57bf152846718e91@mail.gmail.com> <790a9fff0708111037m1d25e164ma760a286f6d70cb8@mail.gmail.com> <790a9fff0708111103y2c178125iacc5d4ec1395bb07@mail.gmail.com> Cc: krion@freebsd.org, Xin LI , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: request add db45/db46 support to mail/exim port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2007 19:27:11 -0000 On 8/11/07, Hajimu UMEMOTO wrote: > Hi, > > >>>>> On Sat, 11 Aug 2007 13:03:32 -0500 > >>>>> "Scot Hetzel" said: > > swhetzel> I believe when I made the change to bsd.database.mk, and then > patched > swhetzel> all of the BDB using ports, I had put the lowest version that the > port > swhetzel> supported into USE_BDB. > > swhetzel> USE_BDB=yes would also work and allow the port to show a > dependancy on > swhetzel> the default BDB version instead of the lowest BDB version. Also, > swhetzel> INVALID_BDB_VER takes care of excluding BDB versions that the port > swhetzel> doesn't work with. > > Yes, it is same as my understanding. So, I think a user doesn't > specify WITH_BSD_VER explicitly, exim will use db40, while other ports > which use bsd.database.mk use db41. > That would be true, except that the exim port is setting WITH_BDB_VER?=1 to use the system BDB by default. I have now fixed it so that the exim port doesn't need to set WITH_BDB_VER?=1 anymore. Instead setting either WITH_BDB or WITH_BDB_VER > 1 will make the port use Mk/bsd.database.mk to choose the version of BDB to use, otherwise it will default to the system BDB. The updated patch is in PR 115427: http://www.freebsd.org/cgi/query-pr.cgi?pr=115427 Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.