diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2016-05-18 22:23:27 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2016-05-18 22:23:27 +0200 |
commit | 14994bc4884b1d1eefe58f1c41e48f24eadf2d2b (patch) | |
tree | b011c33180c2a3587a764716069f61f54f3b089c /eclass | |
parent | sys-libs/e2fsprogs-libs & sys-fs/e2fsprogs: drop old 1.41.7 version (diff) | |
download | gentoo-14994bc4884b1d1eefe58f1c41e48f24eadf2d2b.tar.gz gentoo-14994bc4884b1d1eefe58f1c41e48f24eadf2d2b.tar.bz2 gentoo-14994bc4884b1d1eefe58f1c41e48f24eadf2d2b.zip |
cmake-utils.eclass: Remove incorrect suggestions related to eclass functions removed since EAPI 6
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 427c13fe6cc2..5958230e4685 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -161,7 +161,7 @@ _cmake_use_me_now() { local arg=$2 [[ ! -z $3 ]] && arg=$3 - [[ ${EAPI} == [2345] ]] || die "${FUNCNAME[1]} is banned in EAPI 6 and later: use -D$1${arg}=\"\$(usex $2)\" instead" + [[ ${EAPI} == [2345] ]] || die "${FUNCNAME[1]} is banned in EAPI 6 and later" local uper capitalised x [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]" @@ -184,7 +184,7 @@ _cmake_use_me_now_inverted() { [[ ! -z $3 ]] && arg=$3 if [[ ${EAPI} != [2345] && "${FUNCNAME[1]}" != cmake-utils_use_find_package ]] ; then - die "${FUNCNAME[1]} is banned in EAPI 6 and later: use -D$1${arg}=\"\$(usex $2)\" instead" + die "${FUNCNAME[1]} is banned in EAPI 6 and later" fi local uper capitalised x |