use OPTIONS in x11-drivers/xorg-drivers
jaj at hcl-club.lu
Tue May 22 16:52:27 UTC 2007
On Tue, 22 May 2007 20:22:02 +0400, Andrew Pantyukhin wrote:
> On 5/22/07, Jona Joachim <jaj at hcl-club.lu> wrote:
>> I just wanted to ask why the x11-drivers/xorg-drivers port installs all
>> those drivers unconditionally.
>> Wouldn't it be sensible to use the OPTIONS framework to let the user
>> choose what he wants and needs?
>> To make the choice easier for the user you could enable drivers that he
>> most likely needs by default.
>> To find out what graphics driver he needs you could consult pciconf(8).
> It was the way of POLA. Traditionally, xorg installed all available
> drivers. Also, drivers don't take very long to compile. When some
> pkg_create-related tweaks are committed, the time xorg-drivers take to
> compile and install will be negligible if compared with the rest of
Yes of course it doesn't take a lot of time to compile and it doesn't use
a lot of disk space but I don't really like to have a lot of stuff
installed that I don't need.
The user wouldn't be astonished because he would be asked what he wants
with reasonable default values. The port could install all drivers if
BATCH is defined.
Of course it was just a small idea, it's not a big deal if it installs
More information about the freebsd-x11