WITHOUT_NLS is deprecated use NLS option instead

Baptiste Daroussin bapt at FreeBSD.org
Thu Dec 26 10:32:13 UTC 2013


On Thu, Dec 26, 2013 at 11:28:01AM +0100, olli hauer wrote:
> On 2013-12-26 11:08, Baptiste Daroussin wrote:
> > On Wed, Dec 25, 2013 at 10:55:56PM -0800, Doug Barton wrote:
> >> On 12/25/2013 10:51 PM, clutton wrote:
> >>> Sorry, but I have a quite opposite view. Making both variants work means
> >>> chaos. More variants means more complication.
> >>
> >> if <options for nls mean no> || WITHOUT_NLS; then
> >>
> >>
> >> This is not chaos. It's called "backwards compatibility," which is a 
> >> critical part of every mature software project.
> >>
> >> OTOH, forcing users to jump through stupid hoops to change 
> >> configurations which have worked for over a decade is a sign of the 
> >> inmates running the asylum.
> >>
> >> Doug
> >>
> > 
> > Backward compatility is still in there, this is a warning to the users, so that
> > they do get time to migrate. And it will stay for a while, even if
> > OPTIONS_UNSET=NLS is recommanded for more than a year.
> > 
> 
> I suspect the warning comes from bsd.options.mk in case NLS is unset
> by the user even the new correct way.
> 
> file: Mk/bsd.options.mk
> 120 .if !defined(WITHOUT_NLS)
> 121 PORT_OPTIONS+=  NLS
> 122 .endif
> ...
> 347 .if empty(PORT_OPTIONS:MNLS)
> 348 WITHOUT_NLS=    yes
> 349 .endif
> 
> 
> Now bsd.sanity.mk kicks in and complains ...
> 
> -- 
> Regards,
> olli

No your ports tree is not up to date.

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/20131226/09c79f3b/attachment.sig>


More information about the freebsd-ports mailing list