Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30360

Summary: allow `use` to support ! syntax
Product: Portage Development Reporter: SpanKY <vapier>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: negate-use-ebuild.sh.patch
negate-use-ebuild.sh.patch

Description SpanKY gentoo-dev 2003-10-04 19:46:11 UTC
summary says it all ... useful when we want to do local use flags but want the feature to be enabled by default ...

for example, the USE flag would be 'noblah' but i want the feature to be enabled by default (the configure script suggest as much) so i can just do `use_with !noblah` ... by supporting ! in `use`, `use_with` and `use_enable` and everything else gets it too for free :)

not sure exactly about the patch, ive pondered it a few times and this is the only way i could think of doing it
Comment 1 SpanKY gentoo-dev 2003-10-04 19:46:33 UTC
Created attachment 18768 [details, diff]
negate-use-ebuild.sh.patch
Comment 2 SpanKY gentoo-dev 2003-10-04 19:47:21 UTC
Created attachment 18769 [details, diff]
negate-use-ebuild.sh.patch

erm last one i diff-ed in the wrong direction
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 17:59:48 UTC
portage-2.0.50_pre9
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:21 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.