commit:     d564decfa7cff7c90d90b4944417c91fd7c1b048
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May  5 21:40:03 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May  5 21:40:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d564decf

sys-libs/libcxx: drop invalid gcc-version check, bug #705282

gcc-4.7 is very old version. The version check uses lexicographical
compare. It should use version compare to be valid. Let's just drop
the check.

Closes: https://bugs.gentoo.org/705282
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/libcxx/libcxx-10.0.0.9999.ebuild | 6 ------
 sys-libs/libcxx/libcxx-10.0.0.ebuild      | 6 ------
 sys-libs/libcxx/libcxx-11.0.0.9999.ebuild | 6 ------
 sys-libs/libcxx/libcxx-8.0.1.ebuild       | 8 +-------
 sys-libs/libcxx/libcxx-9.0.1.ebuild       | 6 ------
 5 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild 
b/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
index 5a3729e82ad..6e1bba971a9 100644
--- a/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
@@ -56,12 +56,6 @@ pkg_setup() {
                eerror "and try again."
                die
        fi
-       if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
-               eerror "${PN} needs to be built with gcc-4.7 or later (or other"
-               eerror "conformant compilers). Please use gcc-config to switch 
to"
-               eerror "gcc-4.7 or later version."
-               die
-       fi
 }
 
 test_compiler() {

diff --git a/sys-libs/libcxx/libcxx-10.0.0.ebuild 
b/sys-libs/libcxx/libcxx-10.0.0.ebuild
index 24c015cc1bc..20a1d2faae6 100644
--- a/sys-libs/libcxx/libcxx-10.0.0.ebuild
+++ b/sys-libs/libcxx/libcxx-10.0.0.ebuild
@@ -56,12 +56,6 @@ pkg_setup() {
                eerror "and try again."
                die
        fi
-       if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
-               eerror "${PN} needs to be built with gcc-4.7 or later (or other"
-               eerror "conformant compilers). Please use gcc-config to switch 
to"
-               eerror "gcc-4.7 or later version."
-               die
-       fi
 }
 
 test_compiler() {

diff --git a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild 
b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
index 7e8f34b8c13..c8f3b48d30c 100644
--- a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
@@ -57,12 +57,6 @@ pkg_setup() {
                eerror "and try again."
                die
        fi
-       if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
-               eerror "${PN} needs to be built with gcc-4.7 or later (or other"
-               eerror "conformant compilers). Please use gcc-config to switch 
to"
-               eerror "gcc-4.7 or later version."
-               die
-       fi
 }
 
 test_compiler() {

diff --git a/sys-libs/libcxx/libcxx-8.0.1.ebuild 
b/sys-libs/libcxx/libcxx-8.0.1.ebuild
index d126d9a2b01..f1ddc2f89dd 100644
--- a/sys-libs/libcxx/libcxx-8.0.1.ebuild
+++ b/sys-libs/libcxx/libcxx-8.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -66,12 +66,6 @@ pkg_setup() {
                eerror "and try again."
                die
        fi
-       if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
-               eerror "${PN} needs to be built with gcc-4.7 or later (or other"
-               eerror "conformant compilers). Please use gcc-config to switch 
to"
-               eerror "gcc-4.7 or later version."
-               die
-       fi
 }
 
 test_compiler() {

diff --git a/sys-libs/libcxx/libcxx-9.0.1.ebuild 
b/sys-libs/libcxx/libcxx-9.0.1.ebuild
index e5a479380d9..c144def9c79 100644
--- a/sys-libs/libcxx/libcxx-9.0.1.ebuild
+++ b/sys-libs/libcxx/libcxx-9.0.1.ebuild
@@ -58,12 +58,6 @@ pkg_setup() {
                eerror "and try again."
                die
        fi
-       if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
-               eerror "${PN} needs to be built with gcc-4.7 or later (or other"
-               eerror "conformant compilers). Please use gcc-config to switch 
to"
-               eerror "gcc-4.7 or later version."
-               die
-       fi
 }
 
 test_compiler() {

Reply via email to