diff options
author | Sam James <sam@gentoo.org> | 2021-04-07 06:12:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-13 00:26:09 +0000 |
commit | c78169f48d106f024e3229eb8e7e85602243e0d7 (patch) | |
tree | e3d103f02fbe6ad6706c34b03c4cf6c3c7e4d959 /games-arcade/ascii-invaders | |
parent | games-action/moon-buggy: call pkg-config via toolchain-funcs.eclass helper (diff) | |
download | gentoo-c78169f48d106f024e3229eb8e7e85602243e0d7.tar.gz gentoo-c78169f48d106f024e3229eb8e7e85602243e0d7.tar.bz2 gentoo-c78169f48d106f024e3229eb8e7e85602243e0d7.zip |
games-arcade/ascii-invaders: 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/ascii-invaders')
-rw-r--r-- | games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild index 9437783b42ad..65c9b267ca12 100644 --- a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild +++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b-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="Space invaders clone, using ncurses library" HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders" SRC_URI="mirror://gentoo/invaders${PV}.tgz" @@ -24,7 +26,7 @@ src_prepare() { } src_compile() { - emake LDLIBS="$(pkg-config ncurses --libs)" invaders + emake LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs)" invaders } src_install() { |