bin/41071: make NO to NO_ transition patch
From: Cyrille Lefevre (cyrille.lefevre_at_laposte.net)
Date: 04/15/04
- Previous message: Brian F. Feldman: "Re: mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept)."
- Next in thread: Bruce Evans: "Re: bin/41071: make NO to NO_ transition patch"
- Reply: Bruce Evans: "Re: bin/41071: make NO to NO_ transition patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <arch@freebsd.org> Date: Thu, 15 Apr 2004 22:52:12 +0200
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).
impacted files:
around 285 Makefiles
make.conf(5)
share/examples/etc/make.conf
share/mk/*.mk (well, only those w/ NOXXX vars :)
new file:
share/mk/bsd.var.mk
sample outputs:
$ 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.
Cyrille Lefevre.
-- home: mailto:cyrille.lefevre@laposte.net _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Brian F. Feldman: "Re: mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept)."
- Next in thread: Bruce Evans: "Re: bin/41071: make NO to NO_ transition patch"
- Reply: Bruce Evans: "Re: bin/41071: make NO to NO_ transition patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]