Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 15:39:35 +0100
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Kimmo Paasiala <kpaasial@gmail.com>
Cc:        Olli Hauer <ohauer@freebsd.org>, freebsd-ports@freebsd.org, Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
Subject:   Re: Problems with devel/apr1 or options_group
Message-ID:  <20121227143935.GH9441@ithaqua.etoilebsd.net>
In-Reply-To: <CA%2B7WWSc3LtHNSm1K8rgaRx=%2B2Aquv3r5dMw_aGZfXPb8BJ1OgQ@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--YrlhzR9YrZtruaFS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 27, 2012 at 04:21:00PM +0200, Kimmo Paasiala wrote:
> On Thu, Dec 27, 2012 at 3:57 PM, Olli Hauer <ohauer@freebsd.org> wrote:
> > 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 co=
ntrolled 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 n=
ew OPTIONS_GROUP?
> >>
> >> We used a script to modify our ports.conf to accommodate the new optio=
nng _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=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 | WITH_LDAP | WITH=
OUT_GDBM | APR_UNSET=3DGDBM |  APR_SET=3DTHREADS BDB LDAP
> >
> > --
> > 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

this is to avoid collision:
lang/perl5.12 and lang/perl5.10 both have the same name while the uniquenam=
e is
different and user may want to have different options set for both.

FYI the uniquename was already used with the old famework.

regards
Bapt

--YrlhzR9YrZtruaFS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlDcXacACgkQ8kTtMUmk6ExkhwCffOQ4xkUyGxl5A8dqjcoUBxXB
mGYAnjzZtp5LvhqLzKWDkYrfbcYAn7Mq
=kXT9
-----END PGP SIGNATURE-----

--YrlhzR9YrZtruaFS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121227143935.GH9441>