From owner-freebsd-ports@FreeBSD.ORG Thu Dec 27 14:05:25 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 717EDDB4; Thu, 27 Dec 2012 14:05:25 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 257098FC0A; Thu, 27 Dec 2012 14:05:25 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 62EF320936; Thu, 27 Dec 2012 14:57:00 +0100 (CET) Message-ID: <50DC53C9.7020506@FreeBSD.org> Date: Thu, 27 Dec 2012 14:57:29 +0100 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Dewayne Geraghty Subject: Re: Problems with devel/apr1 or options_group References: <1TncE1-0005yN-0m@internal.tormail.org> <87r4mdzoog.wl%hskuhra@eumx.net> <826924ADF5944105BFBC01D6A4AA41A8@black> In-Reply-To: <826924ADF5944105BFBC01D6A4AA41A8@black> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 'Baptiste Daroussin' , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 14:05:25 -0000 On 2012-12-27 09:38, Dewayne Geraghty wrote: > While trying to build apache22 with ldap, the dependency apr1 passes a "--without-ldap" flag to apr-util which results in apache > failing. > > * Background * > Some 450+ packages are built on a 4 monthly cycle, 149 of these are controlled by ports.conf and built using portmaster. This is the > second time since 2005 that I've been stuck and would appreciate some advice/guidance whether the problem lies with something in apr > that I am missing, or the use of ${UNIQUENAME}_SET doesn't work with new OPTIONS_GROUP? > > We used a script to modify our ports.conf to accommodate the new optionng _SET and _UNSET which worked nicely last time ports were > built. > > These are the relevant options from ports.conf > devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR1_UNSET=GDBM | APR1_SET=THREADS BDB LDAP [...] I suspect here is the mistake $> cd devel/apr1 $> make -V UNIQUENAME apr (-> not apr1) I don't work with portmaster (happy tinderbox user ;). Can you try the following line in your ports.conf file ports.conf: devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR_UNSET=GDBM | APR_SET=THREADS BDB LDAP -- Regards, olli