Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcxx/
Date: Tue, 05 May 2020 21:40:41
Message-Id: 1588714817.d564decfa7cff7c90d90b4944417c91fd7c1b048.slyfox@gentoo
1 commit: d564decfa7cff7c90d90b4944417c91fd7c1b048
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 5 21:40:03 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue May 5 21:40:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d564decf
7
8 sys-libs/libcxx: drop invalid gcc-version check, bug #705282
9
10 gcc-4.7 is very old version. The version check uses lexicographical
11 compare. It should use version compare to be valid. Let's just drop
12 the check.
13
14 Closes: https://bugs.gentoo.org/705282
15 Package-Manager: Portage-2.3.99, Repoman-2.3.22
16 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
17
18 sys-libs/libcxx/libcxx-10.0.0.9999.ebuild | 6 ------
19 sys-libs/libcxx/libcxx-10.0.0.ebuild | 6 ------
20 sys-libs/libcxx/libcxx-11.0.0.9999.ebuild | 6 ------
21 sys-libs/libcxx/libcxx-8.0.1.ebuild | 8 +-------
22 sys-libs/libcxx/libcxx-9.0.1.ebuild | 6 ------
23 5 files changed, 1 insertion(+), 31 deletions(-)
24
25 diff --git a/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
26 index 5a3729e82ad..6e1bba971a9 100644
27 --- a/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
28 +++ b/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
29 @@ -56,12 +56,6 @@ pkg_setup() {
30 eerror "and try again."
31 die
32 fi
33 - if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
34 - eerror "${PN} needs to be built with gcc-4.7 or later (or other"
35 - eerror "conformant compilers). Please use gcc-config to switch to"
36 - eerror "gcc-4.7 or later version."
37 - die
38 - fi
39 }
40
41 test_compiler() {
42
43 diff --git a/sys-libs/libcxx/libcxx-10.0.0.ebuild b/sys-libs/libcxx/libcxx-10.0.0.ebuild
44 index 24c015cc1bc..20a1d2faae6 100644
45 --- a/sys-libs/libcxx/libcxx-10.0.0.ebuild
46 +++ b/sys-libs/libcxx/libcxx-10.0.0.ebuild
47 @@ -56,12 +56,6 @@ pkg_setup() {
48 eerror "and try again."
49 die
50 fi
51 - if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
52 - eerror "${PN} needs to be built with gcc-4.7 or later (or other"
53 - eerror "conformant compilers). Please use gcc-config to switch to"
54 - eerror "gcc-4.7 or later version."
55 - die
56 - fi
57 }
58
59 test_compiler() {
60
61 diff --git a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
62 index 7e8f34b8c13..c8f3b48d30c 100644
63 --- a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
64 +++ b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
65 @@ -57,12 +57,6 @@ pkg_setup() {
66 eerror "and try again."
67 die
68 fi
69 - if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
70 - eerror "${PN} needs to be built with gcc-4.7 or later (or other"
71 - eerror "conformant compilers). Please use gcc-config to switch to"
72 - eerror "gcc-4.7 or later version."
73 - die
74 - fi
75 }
76
77 test_compiler() {
78
79 diff --git a/sys-libs/libcxx/libcxx-8.0.1.ebuild b/sys-libs/libcxx/libcxx-8.0.1.ebuild
80 index d126d9a2b01..f1ddc2f89dd 100644
81 --- a/sys-libs/libcxx/libcxx-8.0.1.ebuild
82 +++ b/sys-libs/libcxx/libcxx-8.0.1.ebuild
83 @@ -1,4 +1,4 @@
84 -# Copyright 1999-2019 Gentoo Authors
85 +# Copyright 1999-2020 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 EAPI=6
89 @@ -66,12 +66,6 @@ pkg_setup() {
90 eerror "and try again."
91 die
92 fi
93 - if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
94 - eerror "${PN} needs to be built with gcc-4.7 or later (or other"
95 - eerror "conformant compilers). Please use gcc-config to switch to"
96 - eerror "gcc-4.7 or later version."
97 - die
98 - fi
99 }
100
101 test_compiler() {
102
103 diff --git a/sys-libs/libcxx/libcxx-9.0.1.ebuild b/sys-libs/libcxx/libcxx-9.0.1.ebuild
104 index e5a479380d9..c144def9c79 100644
105 --- a/sys-libs/libcxx/libcxx-9.0.1.ebuild
106 +++ b/sys-libs/libcxx/libcxx-9.0.1.ebuild
107 @@ -58,12 +58,6 @@ pkg_setup() {
108 eerror "and try again."
109 die
110 fi
111 - if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
112 - eerror "${PN} needs to be built with gcc-4.7 or later (or other"
113 - eerror "conformant compilers). Please use gcc-config to switch to"
114 - eerror "gcc-4.7 or later version."
115 - die
116 - fi
117 }
118
119 test_compiler() {