1 |
commit: 507f6575aa458752271bc3892c06a453f0bb1856 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 01:48:48 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 05:33:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507f6575 |
7 |
|
8 |
app-text/yodl: [QA] drop (very) stale GCC version checks |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-text/yodl/yodl-4.03.00.ebuild | 12 +----------- |
13 |
1 file changed, 1 insertion(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/app-text/yodl/yodl-4.03.00.ebuild b/app-text/yodl/yodl-4.03.00.ebuild |
16 |
index 0f7adc8fbc7a..e82b0e00f1f2 100644 |
17 |
--- a/app-text/yodl/yodl-4.03.00.ebuild |
18 |
+++ b/app-text/yodl/yodl-4.03.00.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2021 Gentoo Authors |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
@@ -23,16 +23,6 @@ BDEPEND=" |
26 |
) |
27 |
" |
28 |
|
29 |
-pkg_pretend() { |
30 |
- if [[ ${MERGE_TYPE} != "binary" ]]; then |
31 |
- if tc-is-gcc && [[ $(gcc-major-version) -lt 8 ]]; then |
32 |
- die "Your compiler doesn't fully support C++17. Use GCC 8 or newer." |
33 |
- elif tc-is-clang && [[ $(clang-major-version) -lt 6 ]]; then |
34 |
- die "Your compiler doesn't fully support C++17. Use Clang 6 or newer." |
35 |
- fi |
36 |
- fi |
37 |
-} |
38 |
- |
39 |
src_prepare() { |
40 |
sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \ |
41 |
-e "/COMPILER =/s/gcc/$(tc-getCC)/" \ |