commit:     a9e4b52409935d31b8fa5d8275eb33124c98aa5d
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Apr  1 19:10:31 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 09:02:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e4b524

games-fps/rott: EAPI8 bump, use HTTPS, fix calling cc directly

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24855
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-fps/rott/rott-1.1.2-r1.ebuild | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild 
b/games-fps/rott/rott-1.1.2-r1.ebuild
index 915ad6efa315..a11a0d2074c1 100644
--- a/games-fps/rott/rott-1.1.2-r1.ebuild
+++ b/games-fps/rott/rott-1.1.2-r1.ebuild
@@ -1,24 +1,27 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
+inherit toolchain-funcs
 
 DESCRIPTION="Rise of the Triad for Linux!"
-HOMEPAGE="http://www.icculus.org/rott/";
-SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
+HOMEPAGE="https://www.icculus.org/rott/";
+SRC_URI="https://www.icculus.org/rott/releases/${P}.tar.gz
        demo? ( http://filesingularity.timedoctor.org/swdata.zip )"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="demo"
 
-RDEPEND="media-libs/libsdl[sound,joystick,video]
+RDEPEND="
+       media-libs/libsdl[sound,joystick,video]
        media-libs/sdl-mixer"
 DEPEND="${RDEPEND}
        app-arch/unzip"
 
-S=${WORKDIR}/${P}/rott
+S="${WORKDIR}/${P}/rott"
 
 src_prepare() {
        default
@@ -30,6 +33,7 @@ src_prepare() {
 }
 
 src_compile() {
+       tc-export CC
        emake -j1 \
                EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \
                SHAREWARE=$(usex demo "1" "0")

Reply via email to