diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-01-20 21:35:13 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-01-23 01:01:01 +0100 |
commit | 68aff5730fe3477bfb4f0990008e620964792b92 (patch) | |
tree | 0d5ca18b78218cddc2418e948855e7a2b53a7244 | |
parent | ebuild-writing/eapi: Move EAPI=1 information to other sections. (diff) | |
download | devmanual-68aff5730fe3477bfb4f0990008e620964792b92.tar.gz devmanual-68aff5730fe3477bfb4f0990008e620964792b92.tar.bz2 devmanual-68aff5730fe3477bfb4f0990008e620964792b92.zip |
general-concepts/dependencies: Drop section on if-else USE blocks.
If-else USE blocks, i.e. "Legacy Inverse USE-Conditional Dependency
Syntax", have been abandoned before EAPI was introduced.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | general-concepts/dependencies/text.xml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index 9f2cc47..4e3a84e 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -537,36 +537,6 @@ presence or absence. </section> <section> -<title>Legacy Inverse USE-Conditional Dependency Syntax</title> -<body> - -<p> - Once upon a time the <c>:</c> conditional operator was allowed in <c>*DEPEND</c>: -</p> - -<codesample lang="ebuild"> -DEPEND="use-flag? ( app-misc/foo ) : ( app-misc/bar )" -</codesample> - -<p> -<b>This syntax is no longer permitted</b>. It is exactly equivalent to the -following, which should be used instead: -</p> - -<codesample lang="ebuild"> -DEPEND="use-flag? ( app-misc/foo ) - !use-flag? ( app-misc/bar )" -</codesample> - -<p> -It is useful to recognise the legacy syntax and to know that it is no longer -valid. -</p> - -</body> -</section> - -<section> <title>Test Dependencies</title> <body> |