diff options
author | Sam James <sam@gentoo.org> | 2021-12-09 04:21:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-09 04:24:30 +0000 |
commit | d19d95690f821f1a867f8e2095835056e988618f (patch) | |
tree | 3d8b0c77def5d249a27edf8ad711de95c59bfbe5 /general-concepts/virtuals/text.xml | |
parent | general-concepts/autotools: use EAPI 8 in examples and autotools.eclass helpers (diff) | |
download | devmanual-d19d95690f821f1a867f8e2095835056e988618f.tar.gz devmanual-d19d95690f821f1a867f8e2095835056e988618f.tar.bz2 devmanual-d19d95690f821f1a867f8e2095835056e988618f.zip |
general-concepts/virtuals: use EAPI 8 in examples
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'general-concepts/virtuals/text.xml')
-rw-r--r-- | general-concepts/virtuals/text.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/general-concepts/virtuals/text.xml b/general-concepts/virtuals/text.xml index d45c1ff..f6cf198 100644 --- a/general-concepts/virtuals/text.xml +++ b/general-concepts/virtuals/text.xml @@ -24,11 +24,11 @@ An example of a virtual: </p> <codesample lang="ebuild"> -EAPI=7 +EAPI=8 DESCRIPTION="Virtual for C++ tr1 <type_traits>" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" RDEPEND="|| ( >=sys-devel/gcc-4.1 dev-libs/boost )" </codesample> @@ -95,7 +95,7 @@ For example, a virtual for different packages providing ABI-compatible </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.1" SLOT="0/1" @@ -124,10 +124,11 @@ would contain: </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.0" SLOT="0/0" + RDEPEND="dev-libs/libfoo:0/0" </codesample> @@ -136,10 +137,11 @@ while <c>virtual/libfoo-1.ebuild</c> would contain: </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.1" SLOT="0/1" + RDEPEND="dev-libs/newfoo:0/1" </codesample> |