From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 16:50:37 2007 Return-Path: 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 9F4C316A41B for ; Tue, 14 Aug 2007 16:50:37 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4F51D13C4D5 for ; Tue, 14 Aug 2007 16:50:37 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by el-out-1112.google.com with SMTP id s27so308114ele for ; Tue, 14 Aug 2007 09:50:36 -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=n3/bGfvq8NjrqzigKrgw4D4C4vItHQK97xC3I6DiZvU1/vd8ZjKQ+8umCRhDujb2hU7W9ZeDte7Ij6gkRAI/lAzBX8nTzAWNIpTFrjjcUwOtrzV3JQvSDhfskc2PlWguWVnJsxHMkPz1UCOZBOlKpVDCD6vPvqtdGAcitVxm4DA= 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=VhEJA0ZxVtBDe31kQhnAWCOENViOkGWFQsA+lU/rM/pt8x/pyLSlm2ieEVBJnL/PctloOitn/zkiJ/JI5sT6Vt+lhgd1ZKIcVgxlKS9eJ8KMz0w14zvYe4Ra6h8UhW0q9ScSz2kbXLUbKv1J36QUDxQMiEElHDDjQZLjwat58fY= Received: by 10.100.111.16 with SMTP id j16mr6114040anc.1187108786344; Tue, 14 Aug 2007 09:26:26 -0700 (PDT) Received: by 10.100.137.3 with HTTP; Tue, 14 Aug 2007 09:25:59 -0700 (PDT) Message-ID: Date: Wed, 15 Aug 2007 00:25:59 +0800 From: "Jiawei Ye" To: freebsd-questions@freebsd.org In-Reply-To: <70f41ba20708140921k43cea2d8oe8f2bada785b49e0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70f41ba20708140921k43cea2d8oe8f2bada785b49e0@mail.gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: request add db45/db46 support to www/apache22 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 16:50:37 -0000 On 8/15/07, snowcrash+freebsd wrote: > hi, > > with db45/db46 now in ports and supported in make.conf, can we get > port(www/apache22) updated as well? > > looks simple, namely: > > > vi Makefile.modules > ================================================================= > @95 > . elif ${WITH_BERKELEYDB} == "db44" > LIB_DEPENDS+= db-4.4:${PORTSDIR}/databases/db44 > CONFIGURE_ARGS+= --with-dbm=db44 \ > --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44 > +++ . elif ${WITH_BERKELEYDB} == "db45" > +++ LIB_DEPENDS+= db-4.5:${PORTSDIR}/databases/db45 > +++ CONFIGURE_ARGS+= --with-dbm=db45 \ > +++ --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db45 > +++ . elif ${WITH_BERKELEYDB} == "db46" > +++ LIB_DEPENDS+= db-4.6:${PORTSDIR}/databases/db46 > +++ CONFIGURE_ARGS+= --with-dbm=db46 \ > +++ --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db46 > . else > IGNORE= "Unknown Berkeley DB version" > ================================================================= > > though some clever soul might suggest that it be changed to > automatically pick the BDB settings .... > > thanks! > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > The change for db46 will fail because the DB version is hardcoded in apr-util configure script. You need to patch that as well. Jiawei Ye -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant."