bin/41071: make NO to NO_ transition patch
cyrille.lefevre at laposte.net
Thu Apr 15 13:52:14 PDT 2004
anyone interrested to validate and commit this PR ?
it provide a patch set to change all NOFOO variables to NO_FOO.
see thread "Standardized make options (or no doesn't always mean no)"
restart on 24 July 2002 in -arch for details and comments.
it depended on PR #41070 related to make enhancements and bug fixes
which has been partly commited some days ago (.warning keyword).
I'm using this patch for 2 years now w/o any problem except when upgrading
perl from ports which should be fixed (no more NOPERL in /etc/make.conf).
around 285 Makefiles
share/mk/*.mk (well, only those w/ NOXXX vars :)
$ make -v /usr/share/mk/bsd.var.mk NOPERL=
"/usr/share/mk/bsd.var.mk", line 146: warning: NO_PERL should be defined in
place of NOPERL -- using NO_PERL with the value of NOPERL and unsetting NOPERL.
$ make -v /usr/share/mk/bsd.var.mk NOPERL= NO_PERL=
"/usr/share/mk/bsd.var.mk", line 142: warning: both NO_PERL and NOPERL are
defined with the same value -- using NO_PERL and unsetting NOPERL.
$ make -v /usr/share/mk/bsd.var.mk NOPERL=yes NO_PERL=no
"/usr/share/mk/bsd.var.mk", line 139: warning: both NO_PERL and NOPERL are
defined with a different value -- using NO_PERL and unsetting NOPERL.
$ make -v /usr/share/mk/bsd.var.mk NONO_PERL=
"/usr/share/mk/bsd.var.mk", line 132: warning: NONO_PERL is defined --
unsetting NOPERL, NO_PERL and NONO_PERL.
PS : for instance, NONOPERL isn't handled but could be easily added.
home: mailto:cyrille.lefevre at laposte.net
More information about the freebsd-arch