commit: acc2679259137e745ac81da9ed21f0486496fa85
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 05:15:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc26792
x11-wm/windowlab: 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 <AT> gentoo.org>
x11-wm/windowlab/windowlab-1.40-r1.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/x11-wm/windowlab/windowlab-1.40-r1.ebuild
b/x11-wm/windowlab/windowlab-1.40-r1.ebuild
index 9d51612cab0..b8af8cf8cf7 100644
--- a/x11-wm/windowlab/windowlab-1.40-r1.ebuild
+++ b/x11-wm/windowlab/windowlab-1.40-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,8 +26,8 @@ PATCHES=( "${FILESDIR}/${PN}-1.34-fixed-font.patch"
pkg_setup() {
if use truetype ; then
export DEFINES=-DXFT
- export EXTRA_INC=$(pkg-config --cflags xft)
- export EXTRA_LIBS=$(pkg-config --libs xft)
+ export EXTRA_INC=$($(tc-getPKG_CONFIG) --cflags xft)
+ export EXTRA_LIBS=$($(tc-getPKG_CONFIG) --libs xft)
fi
tc-export CC
}