Summary: | sys-power/nut should declare NUT_DRIVERS IUSE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Bezrukov <phmagic> |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | itumaykin+gentoo, prometheanfire, saintdev |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The patch which declares IUSES for ups drivers in nut
Similar patch for nut-2.6.5-r1.ebuild |
Description
Alexander Bezrukov
2013-08-11 19:33:40 UTC
Sorry about many typos. Of course I meant VIDEO_CARDS, not VIDEO_DRIVERS. Created attachment 355928 [details, diff]
Similar patch for nut-2.6.5-r1.ebuild
InCVS, with UPS_DRIVERS, but locally defined. Just wondering why this was done locally and not as a USE_EXPAND? It makes it a little bit unwieldy when you want to, for example, disable all usb drivers. Instead of make.conf: UPS_DRIVERS="-usbhid-ups -bcmxcp_usb -tripplite_usb -blazer_usb -richcomm_usb -riello_usb -nutdrv_qx" You end up with package.use: sys-power/nut -ups_drivers_usbhid-ups -ups_drivers_bcmxcp_usb -ups_drivers_tripplite_usb -ups_drivers_blazer_usb -ups_drivers_richcomm_usb -ups_drivers_riello_usb -ups_drivers_nutdrv_qx saintdev: because I wanted it to be working and tested before making it global via USE_EXPAND, because that means asking all of the -dev list for USE_EXPAND permission ;-). I did name it ups_drivers_* on purpose, for when USE_EXPAND is ready. Awesome! I was hoping that was the plan. Thanks for the quick response. Please add USE_EXPAND support. Disabling, say, serial drivers is quite troublesome via USEs (as already was mentioned by Nathan). |