summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-06 23:27:20 +0100
committerMichael Palimaka <kensington@gentoo.org>2018-03-17 11:18:29 +1100
commit66fb815011a3e8e89349caa24636c80d1f2b8814 (patch)
treef3a1c7cb286ea0cae60b30067e63afd04382848a /eclass/cmake-utils.eclass
parentcmake-utils.eclass: use consistent style for SET (diff)
downloadgentoo-66fb815011a3e8e89349caa24636c80d1f2b8814.tar.gz
gentoo-66fb815011a3e8e89349caa24636c80d1f2b8814.tar.bz2
gentoo-66fb815011a3e8e89349caa24636c80d1f2b8814.zip
cmake-utils.eclass: inherit eutils,multilib only pre-EAPI-7
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index bd04ed0f7f9f..f8853be502a1 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -109,8 +109,12 @@ case ${EAPI} in
*) die "EAPI=${EAPI:-0} is not supported" ;;
esac
-inherit toolchain-funcs multilib ninja-utils flag-o-matic eutils \
- multiprocessing versionator xdg-utils
+inherit toolchain-funcs ninja-utils flag-o-matic multiprocessing versionator xdg-utils
+
+case ${EAPI} in
+ 7) ;;
+ *) inherit eutils multilib ;;
+esac
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install