summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/yodl/yodl-4.03.00.ebuild')
-rw-r--r--app-text/yodl/yodl-4.03.00.ebuild14
1 files changed, 2 insertions, 12 deletions
diff --git a/app-text/yodl/yodl-4.03.00.ebuild b/app-text/yodl/yodl-4.03.00.ebuild
index 0f7adc8fbc7a..2ff151fc083a 100644
--- a/app-text/yodl/yodl-4.03.00.ebuild
+++ b/app-text/yodl/yodl-4.03.00.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,23 +16,13 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
BDEPEND="
- >=dev-util/icmake-8.00.00
+ >=dev-build/icmake-8.00.00
doc? (
dev-texlive/texlive-latexextra
dev-texlive/texlive-plaingeneric
)
"
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != "binary" ]]; then
- if tc-is-gcc && [[ $(gcc-major-version) -lt 8 ]]; then
- die "Your compiler doesn't fully support C++17. Use GCC 8 or newer."
- elif tc-is-clang && [[ $(clang-major-version) -lt 6 ]]; then
- die "Your compiler doesn't fully support C++17. Use Clang 6 or newer."
- fi
- fi
-}
-
src_prepare() {
sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \
-e "/COMPILER =/s/gcc/$(tc-getCC)/" \