From owner-freebsd-ports@FreeBSD.ORG Thu Dec 27 14:39:45 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 53D84739; Thu, 27 Dec 2012 14:39:45 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF028FC0C; Thu, 27 Dec 2012 14:39:44 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id dq11so4466024wgb.14 for ; Thu, 27 Dec 2012 06:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=AZ5fUvFjIrEpJYrZrUwCNuz5QIr3EAzS26rk3yXEzRk=; b=PdCGlE7KndjTSOhW2lXpteSj+E2902TxA5eay/nP3r9zVZRCKtWWv0p5iQisrGRXsH 6VHOI6SIxrB30GuEH+NmP3elIzs0AO0ixMQg4UzjCsfKuriuX+W4WIiwBQh/qvvFPUwg W5zGSd9OeEO6YBX3z8RgdlYvTLkbbQSEQcUL2AhodBsYobLzb9sHk93j4jj0ITtAxj45 /lY8Rn6wtdOj3NaYhUc/HUo+oy8JyS/trH8YUs3fmB7aqLB/05JPzo+krOotnx8CHuf0 2sXawiucQNS8Z1Iw3pCE2XEklumxBlxcgbmlJ4IF/EVilDwwoF0viRXcg4SC1XBV0tto Qzbg== X-Received: by 10.195.13.11 with SMTP id eu11mr43222656wjd.39.1356619177936; Thu, 27 Dec 2012 06:39:37 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id i2sm57618863wiw.3.2012.12.27.06.39.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Dec 2012 06:39:37 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 27 Dec 2012 15:39:35 +0100 From: Baptiste Daroussin To: Kimmo Paasiala Subject: Re: Problems with devel/apr1 or options_group Message-ID: <20121227143935.GH9441@ithaqua.etoilebsd.net> References: <1TncE1-0005yN-0m@internal.tormail.org> <87r4mdzoog.wl%hskuhra@eumx.net> <826924ADF5944105BFBC01D6A4AA41A8@black> <50DC53C9.7020506@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YrlhzR9YrZtruaFS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Olli Hauer , freebsd-ports@freebsd.org, Dewayne Geraghty 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:39:45 -0000 --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 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--