Skip to content

Commit

Permalink
games-action/openclonk: drop outdated compiler check, bug #705254
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Feb 18, 2020
1 parent 1a05e3a commit 5826fd1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions games-action/openclonk/openclonk-7.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5826fd1

Please sign in to comment.