commit:     5826fd14fa4f2cfb27fab52fa6fbf8a8483badd4
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 14:40:11 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 14:40:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5826fd14

games-action/openclonk: drop outdated compiler check, bug #705254

Avoid lexicographical compare in pkg_setup().

Closes: https://bugs.gentoo.org/705254
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 games-action/openclonk/openclonk-7.0.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/games-action/openclonk/openclonk-7.0.ebuild 
b/games-action/openclonk/openclonk-7.0.ebuild
index 46aeb31b45a..5543cc1292e 100644
--- a/games-action/openclonk/openclonk-7.0.ebuild
+++ b/games-action/openclonk/openclonk-7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -56,14 +56,6 @@ PATCHES=(
 )
 S=${WORKDIR}/${P}-src
 
-pkg_pretend() {
-       if [[ $(tc-getCXX) == *g++* && $(gcc-version) < 4.9 ]] ; then
-               die 'The active compiler needs to be gcc 4.9 (or newer) or 
clang'
-       else
-               einfo 'The active compiler should be ok'
-       fi
-}
-
 pkg_setup() {
        games_pkg_setup
        use doc && python-any-r1_pkg_setup

Reply via email to