Date: Thu, 27 Dec 2012 15:58:43 +0100 From: 'Baptiste Daroussin' <bapt@freebsd.org> To: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> Cc: 'Kimmo Paasiala' <kpaasial@gmail.com>, freebsd-ports@freebsd.org, 'Olli Hauer' <ohauer@freebsd.org> Subject: Re: Problems with devel/apr1 or options_group Message-ID: <20121227145843.GI9441@ithaqua.etoilebsd.net> In-Reply-To: <2349A8E64C094F499D854D735852D866@black> References: <1TncE1-0005yN-0m@internal.tormail.org> <87r4mdzoog.wl%hskuhra@eumx.net> <826924ADF5944105BFBC01D6A4AA41A8@black> <50DC53C9.7020506@FreeBSD.org> <CA%2B7WWSc3LtHNSm1K8rgaRx=%2B2Aquv3r5dMw_aGZfXPb8BJ1OgQ@mail.gmail.com> <2349A8E64C094F499D854D735852D866@black>
next in thread | previous in thread | raw e-mail | index | archive | help
--ijf6z65S790CMqo8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 28, 2012 at 01:46:56AM +1100, Dewayne Geraghty wrote: > > -----Original Message----- > > From: owner-freebsd-ports@freebsd.org=20 > > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Kimmo Paasiala > > Sent: Friday, 28 December 2012 1:21 AM > > To: Olli Hauer > > Cc: Baptiste Daroussin; freebsd-ports@freebsd.org; Dewayne Geraghty > > Subject: Re: Problems with devel/apr1 or options_group > >=20 > > On Thu, Dec 27, 2012 at 3:57 PM, Olli Hauer=20 > > <ohauer@freebsd.org> wrote: > > > On 2012-12-27 09:38, Dewayne Geraghty wrote: > > >> While trying to build apache22 with ldap, the dependency=20 > > apr1 passes a "--without-ldap" flag to apr-util which results=20 > > in apache > > >> failing. > > >> > > >> * Background * > > >> Some 450+ packages are built on a 4 monthly cycle, 149 of=20 > > these are controlled by ports.conf and built using=20 > > portmaster. This is the > > >> second time since 2005 that I've been stuck and would=20 > > appreciate some advice/guidance whether the problem lies with=20 > > something in apr > > >> that I am missing, or the use of ${UNIQUENAME}_SET doesn't=20 > > work with new OPTIONS_GROUP? > > >> > > >> We used a script to modify our ports.conf to accommodate=20 > > the new optionng _SET and _UNSET which worked nicely last=20 > > time ports were > > >> built. > > >> > > >> These are the relevant options from ports.conf > > >> devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP |=20 > > WITHOUT_GDBM | APR1_UNSET=3DGDBM | APR1_SET=3DTHREADS 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 |=20 > > WITH_LDAP | WITHOUT_GDBM | APR_UNSET=3DGDBM | APR_SET=3DTHREADS BDB LD= AP > > > > > > -- > > > Regards, > > > olli > >=20 > >=20 > > Is there any particular reason why the UNIQUENAME couldn't just be the > > name of the port in all cases? I would make writing the options in > > optionsng format lot easier. > >=20 > > -Kimmo >=20 > Olli, >=20 > Thank-you for the suggestion, unfortunately the result was the same, apr-= util is built "without-ldap". >=20 > I tested on two separate runs modifying ports.conf as follows: > Run 1: (a desperate try-all run) > devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR1_UNS= ET=3DGDBM | APR1_SET=3DTHREADS BDB LDAP | APR_UNSET=3DGDBM | > APR_SET=3DTHREADS BDB LDAP | APU_UNSET=3DGDBM | APU_SET=3DTHREADS BDB LDAP >=20 > Run2: (in case there was a negative interaction between variables, apr an= d apr1?) > devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR_UNSE= T=3DGDBM | APR_SET=3DTHREADS BDB LDAP=20 >=20 s/APR_SET/apr_SET/ S/APR_UNSET/apr_UNSET/ UNIQUENAME is case sensitive regards, Bapt --ijf6z65S790CMqo8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDcYiMACgkQ8kTtMUmk6EwwfQCfc1Q4CyAqRcPlq2gXfWlmRxoG ds4An37/Pmdsb8AST2Y+wIKvpqdxKou6 =KgK9 -----END PGP SIGNATURE----- --ijf6z65S790CMqo8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121227145843.GI9441>