from the feedback I received

Here is a new version (check-options is still branch yet)
This version adds 2 features :
- Conditionnal group and list :
  if an option (OPTS) has the same name as the name of a group or a
list (OPTS_GROUP OPTS_LIST) then the OPTS_GROUP depends on the option
to be set.
- OPTS_OVERRIDE:
the variable allow to override allow options set globally or per ports.

for example make -DOPTS_OVERRIDE="OPT1" will unset all options but OPT1.
Consistency will always be checked by check-options.

http://people.freebsd.org/~bapt/ports-newopts.patch


I also made a quick and dirty example of ports using the new ports
framework using vim (as obrien explain recently some problems with
options):
http://people.freebsd.org/~bapt/vim-newopts.patch

regards,
Bapt
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to