diff options
author | Sam James <sam@gentoo.org> | 2021-04-07 06:12:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-13 00:26:10 +0000 |
commit | 266655495b57375ecc23d7d272536c877ac34508 (patch) | |
tree | d37a55d178f665afcd06c051622330ba84be78ee /games-arcade/gnake | |
parent | games-arcade/ascii-invaders: call pkg-config via toolchain-funcs.eclass helper (diff) | |
download | gentoo-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.ebuild | 6 |
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() { |