summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-17 01:48:48 +0000
committerSam James <sam@gentoo.org>2022-05-17 05:33:52 +0000
commit507f6575aa458752271bc3892c06a453f0bb1856 (patch)
treeb2f38dfb900f103eda06163bec09e799125a2f13 /app-text/yodl
parentapp-text/calibre: [QA] drop (very) stale GCC version checks (diff)
downloadgentoo-507f6575aa458752271bc3892c06a453f0bb1856.tar.gz
gentoo-507f6575aa458752271bc3892c06a453f0bb1856.tar.bz2
gentoo-507f6575aa458752271bc3892c06a453f0bb1856.zip
app-text/yodl: [QA] drop (very) stale GCC version checks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/yodl')
-rw-r--r--app-text/yodl/yodl-4.03.00.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/app-text/yodl/yodl-4.03.00.ebuild b/app-text/yodl/yodl-4.03.00.ebuild
index 0f7adc8fbc7a..e82b0e00f1f2 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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -23,16 +23,6 @@ BDEPEND="
)
"
-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)/" \