games-action/openclonk: drop outdated compiler check, bug #705254
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 18 Feb 2020 14:40:11 +0000 (14:40 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 18 Feb 2020 14:40:15 +0000 (14:40 +0000)
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@gentoo.org>
games-action/openclonk/openclonk-7.0.ebuild

index 46aeb31b45a48885afe26330bf52de5a6eaee8d5..5543cc1292e816bf91c9707a1dbf9f9fcad89e17 100644 (file)
@@ -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