conditional config is skipped for optionsNG'ified ports

Baptiste Daroussin bapt at FreeBSD.org
Fri Jun 8 18:44:57 UTC 2012


On Fri, Jun 08, 2012 at 08:38:10AM +0400, Ruslan Ermilov wrote:
> Hi,
> 
> 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.
> 
> : $ pwd && make -V PKGNAME -V _OPTIONS_READ -V _FILE_COMPLETE_OPTIONS_LIST -V _OPTIONS_OK
> : /usr/ports/www/nginx-devel
> : nginx-devel-1.3.1
> : nginx-devel-1.3.0
> : 
> : yes
> 
> The following condition in bsd.port.mk should be taught about
> optionsNG to fix the issue:
> 
> %%%
> ################################################################
> #
> # 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=yes
> .endif
> %%%
> 
> 
> Cheers,
> -- 
> Ruslan Ermilov
> ru at FreeBSD.org
> FreeBSD committer
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Should be fixed thank you.

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120608/e46c7d0d/attachment.pgp


More information about the freebsd-ports mailing list