From 0dcdfca53069d6f7858fadc0dda1aadc4a9caa25 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 06:12:56 +0100 Subject: media-gfx/dcraw: 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 --- media-gfx/dcraw/dcraw-9.28.0-r2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/media-gfx/dcraw/dcraw-9.28.0-r2.ebuild b/media-gfx/dcraw/dcraw-9.28.0-r2.ebuild index 49a9c411cf33..607282673bfd 100644 --- a/media-gfx/dcraw/dcraw-9.28.0-r2.ebuild +++ b/media-gfx/dcraw/dcraw-9.28.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -74,8 +74,8 @@ src_compile() { # rawphoto gimp plugin if use gimp; then run_build $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ - $(pkg-config --cflags gimpui-2.0) rawphoto.c -o rawphoto \ - $(pkg-config --libs gimpui-2.0) + $($(tc-getPKG_CONFIG) --cflags gimpui-2.0) rawphoto.c -o rawphoto \ + $($(tc-getPKG_CONFIG) --libs gimpui-2.0) fi if use nls; then @@ -92,7 +92,7 @@ src_install() { # rawphoto gimp plugin if use gimp; then - insinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins" + insinto "$($(tc-getPKG_CONFIG) --variable=gimplibdir gimp-2.0)/plug-ins" insopts -m0755 doins rawphoto fi -- cgit v1.2.3-65-gdbad