diff options
author | Sam James <sam@gentoo.org> | 2021-04-07 06:11:48 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-13 00:26:06 +0000 |
commit | 2fdd4f6a8757b75163f37adf89cc9f7f2b696f14 (patch) | |
tree | f365e0e9c7c80662bb4c6e041fecc4b688152348 /dev-java/jamvm | |
parent | dev-db/tora: call pkg-config via toolchain-funcs.eclass helper (diff) | |
download | gentoo-2fdd4f6a8757b75163f37adf89cc9f7f2b696f14.tar.gz gentoo-2fdd4f6a8757b75163f37adf89cc9f7f2b696f14.tar.bz2 gentoo-2fdd4f6a8757b75163f37adf89cc9f7f2b696f14.zip |
dev-java/jamvm: 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 'dev-java/jamvm')
-rw-r--r-- | dev-java/jamvm/jamvm-2.0.0-r1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild b/dev-java/jamvm/jamvm-2.0.0-r1.ebuild index 4c9bd47344b8..e631603bb3dd 100644 --- a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild +++ b/dev-java/jamvm/jamvm-2.0.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils flag-o-matic multilib java-vm-2 autotools +inherit eutils flag-o-matic multilib java-vm-2 autotools toolchain-funcs DESCRIPTION="An extremely small and specification-compliant virtual machine" HOMEPAGE="http://jamvm.sourceforge.net/" @@ -44,7 +44,7 @@ src_configure() { filter-flags "-fomit-frame-pointer" if use ppc64 || use sparc || use libffi; then - append-cflags "$(pkg-config --cflags-only-I libffi)" + append-cflags "$($(tc-getPKG_CONFIG) --cflags-only-I libffi)" fi local fficonf="--enable-ffi" |