From 78f04f9fdc55670d2a2d5263a92f7a19dfe99bfc Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 06:12:46 +0100 Subject: [PATCH] mate-extra/caja-dropbox: 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 --- mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild index d1965d7f5745e..13c899c9f5c5b 100644 --- a/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild +++ b/mate-extra/caja-dropbox/caja-dropbox-1.24.0.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=6 @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python3_7 ) MATE_LA_PUNT="yes" -inherit mate python-single-r1 linux-info user +inherit mate python-single-r1 linux-info toolchain-funcs user if [[ ${PV} != 9999 ]]; then KEYWORDS="amd64 x86" @@ -77,7 +77,7 @@ src_install() { mate_src_install - local extensiondir="$(pkg-config --variable=extensiondir libcaja-extension)" + local extensiondir="$($(tc-getPKG_CONFIG) --variable=extensiondir libcaja-extension)" [ -z ${extensiondir} ] && die "pkg-config unable to get caja extensions dir" # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D.