summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/gslist/gslist-0.8.11a-r1.ebuild')
-rw-r--r--games-util/gslist/gslist-0.8.11a-r1.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/games-util/gslist/gslist-0.8.11a-r1.ebuild b/games-util/gslist/gslist-0.8.11a-r1.ebuild
index cbe916e10a6..07bacb2fdeb 100644
--- a/games-util/gslist/gslist-0.8.11a-r1.ebuild
+++ b/games-util/gslist/gslist-0.8.11a-r1.ebuild
@@ -1,11 +1,14 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="A GameSpy server browser"
HOMEPAGE="http://aluigi.altervista.org/papers.htm#gslist"
SRC_URI="mirror://gentoo/${P}.zip"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
@@ -13,10 +16,8 @@ KEYWORDS="~amd64 ~hppa ~x86"
IUSE="web"
RDEPEND="dev-libs/geoip"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}"/${P}-build.patch
@@ -28,7 +29,11 @@ src_prepare() {
}
src_compile() {
- emake SQL=0 $(use web || echo GSWEB=0)
+ tc-export CC
+
+ emake \
+ SQL=0 \
+ $(use web || echo GSWEB=0)
}
src_install() {