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 <sam@gentoo.org>
This commit is contained in:
parent
4fde3f6303
commit
78f04f9fdc
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue