mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gnustep-base/gnustep-base: 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>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit eutils gnustep-base
|
||||
inherit eutils gnustep-base toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
|
||||
HOMEPAGE="http://www.gnustep.org"
|
||||
@@ -38,7 +38,7 @@ src_configure() {
|
||||
|
||||
local myconf
|
||||
if use libffi ; then
|
||||
myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
|
||||
myconf="--enable-libffi --disable-ffcall --with-ffi-include=$($(tc-getPKG_CONFIG) --variable=includedir libffi)"
|
||||
else
|
||||
myconf="--disable-libffi --enable-ffcall"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user