Date: Fri, 8 Jun 2012 06:45:02 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: ports@FreeBSD.org Subject: Re: conditional config is skipped for optionsNG'ified ports Message-ID: <20120608044502.GG98376@ithaqua.etoilebsd.net> In-Reply-To: <20120608043810.GA23079@lo0.su> References: <20120608043810.GA23079@lo0.su>
next in thread | previous in thread | raw e-mail | index | archive | help
--rV8arf8D5Dod9UkK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 08, 2012 at 08:38:10AM +0400, Ruslan Ermilov wrote: > Hi, >=20 > I've noticed (while portupgrading www/nginx-devel) that despite of > the new options set it doesn't provide me with the configuration > diaglog. This is because _OPTIONS_OK is set when OPTIONS isn't, > and the latter is always true for ports that have been converted. >=20 > : $ pwd && make -V PKGNAME -V _OPTIONS_READ -V _FILE_COMPLETE_OPTIONS_LIS= T -V _OPTIONS_OK > : /usr/ports/www/nginx-devel > : nginx-devel-1.3.1 > : nginx-devel-1.3.0 > :=20 > : yes >=20 > The following condition in bsd.port.mk should be taught about > optionsNG to fix the issue: >=20 > %%% > ################################################################ > # > # Do preliminary work to detect if we need to run the config > # target or not. > # > ################################################################ > .if (!defined(OPTIONS) || defined(CONFIG_DONE_${UNIQUENAME:U}) || \ > defined(PACKAGE_BUILDING) || defined(BATCH)) > _OPTIONS_OK=3Dyes > .endif > %%% >=20 >=20 > Cheers, > --=20 > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer Oh yes thank you, I forgot about it I'll fix it asap regards Bapt --rV8arf8D5Dod9UkK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/Rg04ACgkQ8kTtMUmk6ExmNQCfXuklhm+OAjKv/68weY9ydV5A AjcAni7SLDHojtB1JrVJdKxvYegoHBrp =JNN1 -----END PGP SIGNATURE----- --rV8arf8D5Dod9UkK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120608044502.GG98376>