Questions about/issues with new OPTIONS framework

Bryan Drewery bryan at shatow.net
Mon Aug 6 16:36:57 UTC 2012


On 8/6/2012 11:04 AM, Jeremy Chadwick wrote:
> 2. ports/KNOBS is very explicit in stating, and even visually
> demonstrating (using pipe symbols to delimit length maximums and so
> on), the following:
> 
> #  - Knob description must be 45 characters or less
> 
> Yet, a very good number of descriptions violate this (see the file for
> yourself).  I'm inclined to think the limit is to be extra friendly
> towards 80-column terminals, but I'm still not sure.  Is this
> 45-character-limit untrue, or are numerous descriptions blatantly too
> long?

The KNOBS file is deprecated. The new file is Mk/bsd.options.desc.mk,
which has similar length comments and restrictions.

The limit *does* matter as otherwise the description
a) Gets cut off
b) Wraps, causing display issues on 8.x and 7.x.

If you find descriptions that are cut off or wrapping, please do report
them.

Regards,
Bryan Drewery


More information about the freebsd-ports mailing list