summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-07 06:12:10 +0100
committerSam James <sam@gentoo.org>2021-04-13 00:26:10 +0000
commit266655495b57375ecc23d7d272536c877ac34508 (patch)
treed37a55d178f665afcd06c051622330ba84be78ee /games-arcade/gnake
parentgames-arcade/ascii-invaders: call pkg-config via toolchain-funcs.eclass helper (diff)
downloadgentoo-266655495b57375ecc23d7d272536c877ac34508.tar.gz
gentoo-266655495b57375ecc23d7d272536c877ac34508.tar.bz2
gentoo-266655495b57375ecc23d7d272536c877ac34508.zip
games-arcade/gnake: call pkg-config via toolchain-funcs.eclass helper
This ensures we call the correct pkg-config in e.g. cross. Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/gnake')
-rw-r--r--games-arcade/gnake/gnake-0.94b-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/games-arcade/gnake/gnake-0.94b-r1.ebuild b/games-arcade/gnake/gnake-0.94b-r1.ebuild
index cb17bb2e53d9..88ed93eff406 100644
--- a/games-arcade/gnake/gnake-0.94b-r1.ebuild
+++ b/games-arcade/gnake/gnake-0.94b-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+inherit toolchain-funcs
+
DESCRIPTION="An ncurses-based Nibbles clone"
HOMEPAGE="http://lightless.org/gnake"
SRC_URI="mirror://gentoo/Gnake.${PV}.tar.gz"
@@ -20,7 +22,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}"
src_compile() {
- emake LDLIBS="$(pkg-config ncurses --libs)" gnake
+ emake LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs)" gnake
}
src_install() {