summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-09 22:13:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-09 22:34:28 +0100
commitfa8ae8816133b309acc1f25a69de0ae731df1ee3 (patch)
treecf393b0b45e90ec2937dd340c6c2f60026cffe68 /eclass
parentkde-misc: metadata.xml: KDE desktop -> Plasma desktop (diff)
downloadgentoo-fa8ae8816133b309acc1f25a69de0ae731df1ee3.tar.gz
gentoo-fa8ae8816133b309acc1f25a69de0ae731df1ee3.tar.bz2
gentoo-fa8ae8816133b309acc1f25a69de0ae731df1ee3.zip
java-utils-2.eclass: Inherit eutils, multilib in EAPI [0123456] only
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 95617616fe8..4f7eb0356fc 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -15,10 +15,10 @@
# you should inherit java-pkg-2 for Java packages or java-pkg-opt-2 for packages
# that have optional Java support. In addition you can inherit java-ant-2 for
# Ant-based packages.
-inherit eutils multilib
+
# EAPI 7 has version functions built-in. Use eapi7-ver for all earlier eclasses.
# Keep versionator inheritance in case consumers are using it implicitly.
-[[ ${EAPI} == [0123456] ]] && inherit eapi7-ver versionator
+[[ ${EAPI} == [0123456] ]] && inherit eapi7-ver eutils multilib versionator
IUSE="elibc_FreeBSD"