From owner-freebsd-ports@FreeBSD.ORG Tue Aug 14 16:26:29 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 1B9C616A46B for ; Tue, 14 Aug 2007 16:26:29 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id B90E213C46E for ; Tue, 14 Aug 2007 16:26:28 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so323761wra for ; Tue, 14 Aug 2007 09:26:27 -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=pVER0VcYv81fv5e5b4OOpdO65Iljhjbsrz5ZeCSsrvYLDSZvlLexF7hAK6eZe5G7pcv8lleoTwnuHtNYWYbcXvBzhXDSJUdL99sEfoFtBqDAPGa/m3YhRxXgHWvCzX3EBs82l7IKAneTqHK++0Gmxw6ujS2AwupE20PXsd79bJU= 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=eF9xXBgPAG3Qgp8Nc0tPNodywKKiRN1qBcTKml4jXGzwqak+6GpOLKvDPwS5s0/x2MgV+dC1tgS5QpiEB3qmYwvLV32PzBsZyZO/bfSS8pmF6da57Sd4AJsVtjKI1X08iHl5rjCVxPNrVvhaPr9z3vuc2Td4IL4yxOL+NY0S5ak= Received: by 10.100.190.8 with SMTP id n8mr1653002anf.1187108759350; Tue, 14 Aug 2007 09:25:59 -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-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: Tue, 14 Aug 2007 16:26:29 -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."