Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427384 - Example for '(-)' use dep could be more clear in ebuild.5 manpage
Summary: Example for '(-)' use dep could be more clear in ebuild.5 manpage
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 431026
  Show dependency tree
 
Reported: 2012-07-20 19:51 UTC by Ian Stakenvicius (RETIRED)
Modified: 2012-08-11 23:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2012-07-20 19:51:12 UTC
Working through the syntax of use dependencies, it seems that the ONLY case where a [flag(-)] dependency would do anything useful is if the flag is supposed to be off in the dep.  IE: app-cat/foo[bar(-)] resolves identically to app-cat/foo[bar].

As such, I would like to recommend that the ebuild.5 manpage (and other documentation) be changed so that the use flag in the '(-)' example is negated:

@@ 305,5 ; 305, 5 @@
                            present and disabled:

                            media-video/ffmpeg[threads(+)]
-                           media-video/ffmpeg[threads(-)]
+                           media-video/ffmpeg[-threads(-)]

              Dynamic DEPENDs


Reproducible: Always
Comment 2 Zac Medico gentoo-dev 2012-08-11 23:47:08 UTC
This is fixed in 2.1.11.10 and 2.2.0_alpha121.