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@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-02-18 14:40:11 +00:00
parent 1a05e3a4ad
commit 5826fd14fa

View 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