Date: Fri, 8 Jun 2012 20:44:54 +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: <20120608184454.GD60433@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
--HWvPVVuAAfuRc6SZ 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Should be fixed thank you. Bapt --HWvPVVuAAfuRc6SZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/SSCYACgkQ8kTtMUmk6ExNtQCfRQiyDUo9kKuGcrfaWQMGc2Qk IiAAn3OYQZsWrDOpFi8GYXbMj9gXp/8Y =D+TV -----END PGP SIGNATURE----- --HWvPVVuAAfuRc6SZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120608184454.GD60433>