diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-09-06 21:56:39 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-09-06 21:59:58 +0100 |
commit | 9030205024d99b280b5dfb35de5e5ee173d511ee (patch) | |
tree | 88915461ec1dab371f0640ec264f305fda1d1345 /games-puzzle/gnurobbo/gnurobbo-0.68.ebuild | |
parent | games-puzzle/gnurobbo: Don't set BINDIR or DOCDIR when calling Make (diff) | |
download | gentoo-9030205024d99b280b5dfb35de5e5ee173d511ee.tar.gz gentoo-9030205024d99b280b5dfb35de5e5ee173d511ee.tar.bz2 gentoo-9030205024d99b280b5dfb35de5e5ee173d511ee.zip |
games-puzzle/gnurobbo: Respect CC and LDFLAGS, use pkg-config
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-puzzle/gnurobbo/gnurobbo-0.68.ebuild')
-rw-r--r-- | games-puzzle/gnurobbo/gnurobbo-0.68.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild b/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild index 1f142c1ff64e..fded8903934c 100644 --- a/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild +++ b/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit desktop +inherit desktop toolchain-funcs DESCRIPTION="Robbo, a popular Atari XE/XL game ported to Linux" HOMEPAGE="http://gnurobbo.sourceforge.net/" @@ -26,12 +26,14 @@ RDEPEND=" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}/${P}-cflags-d.patch" + "${FILESDIR}/${P}-flags.patch" "${DISTDIR}/${P}-single-variable-declarations.patch" ) src_compile() { emake \ + CC="$(tc-getCC)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ PACKAGE_DATA_DIR="${EPREFIX}/usr/share/${PN}" } |