diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-18 22:49:28 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-18 23:00:58 +0100 |
commit | 7e781edca0032b004cf61b58e3fa348fbc6ef5f6 (patch) | |
tree | 534c28d2cb71c5e422992ef2b5d4750882086498 | |
parent | dev-perl/Template-Plugin-Latex: Needs xetex (diff) | |
download | gentoo-7e781edca0032b004cf61b58e3fa348fbc6ef5f6.tar.gz gentoo-7e781edca0032b004cf61b58e3fa348fbc6ef5f6.tar.bz2 gentoo-7e781edca0032b004cf61b58e3fa348fbc6ef5f6.zip |
games-arcade/kajaani-kombat: use tool-refixed $CXX
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild b/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild index 2aeaac0b1392..f61f69728cac 100644 --- a/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild +++ b/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit desktop +EAPI=7 +inherit desktop toolchain-funcs DESCRIPTION="A rampart-like game set in space" HOMEPAGE="http://kombat.kajaani.net/" @@ -23,16 +23,22 @@ DEPEND="media-libs/libsdl[sound,video] " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PV}-makefile.patch + "${FILESDIR}"/${P}-ldflags.patch +) + src_prepare() { default - eapply "${FILESDIR}/${PV}-makefile.patch" \ - "${FILESDIR}"/${P}-ldflags.patch + sed -i \ -e "s:GENTOODIR:/usr/share/${PN}/:" \ Makefile || die sed -i \ -e 's/IMG_Load/img_load/' \ gui_screens.cpp || die + + tc-export CXX } src_install() { |