cvs commit: ports/Mk bsd.options.desc.mk bsd.options.mk
bsd.pkgng.mk bsd.port.mk ports/print/ghostscript8 Makefile.drivers
ports/print/ghostscript9 Makefile.drivers
Baptiste Daroussin
bapt at FreeBSD.org
Tue May 29 09:54:27 UTC 2012
bapt 2012-05-29 09:54:27 UTC
FreeBSD ports repository
Modified files:
Mk bsd.pkgng.mk bsd.port.mk
print/ghostscript8 Makefile.drivers
print/ghostscript9 Makefile.drivers
Added files:
Mk bsd.options.desc.mk bsd.options.mk
Log:
New options framework for the ports
for maintainers:
it introduces 3 different types of options: simple, multi and single:
- simple options are the same as the current options (i.e. on or off.)
- multi options are options where at least one must be set (1-N).
- single options are options where one and only one must be set (exclusive
options).
for users:
- OPTIONS_SET: globally enable some options
- OPTIONS_UNSET: globally disable some options
- ${UNIQUENAME}_SET: enable per-port choice of options
- ${UNIQUENAME}_UNSET: disable per-port choice of options
For compatibility the old OPTIONS framework is now working on top of the new one
The options previously set with old OPTIONS are imported and converted
transparently.
A new knob NO_DIALOG if defined in the the config-conditional target is ignored
(prevent the dialog(1) ui to show up.
Thanks to all people involved:
beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing, comments, patches
Revision Changes Path
1.1 +5 -0 ports/Mk/bsd.options.desc.mk (new)
1.1 +148 -0 ports/Mk/bsd.options.mk (new)
1.5 +30 -22 ports/Mk/bsd.pkgng.mk
1.712 +211 -135 ports/Mk/bsd.port.mk
1.8 +6 -1 ports/print/ghostscript8/Makefile.drivers
1.3 +5 -1 ports/print/ghostscript9/Makefile.drivers
More information about the cvs-ports
mailing list