mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user