From 5bfe0f94df7802976a948b541b56be5fc68389e3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Mar 2017 22:51:08 -0700 Subject: [PATCH] sys-apps/lshw: support proper $PKG_CONFIG settings --- sys-apps/lshw/lshw-02.17b-r2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/lshw/lshw-02.17b-r2.ebuild b/sys-apps/lshw/lshw-02.17b-r2.ebuild index ffd8414595ee..74fc33cfafa8 100644 --- a/sys-apps/lshw/lshw-02.17b-r2.ebuild +++ b/sys-apps/lshw/lshw-02.17b-r2.ebuild @@ -43,10 +43,13 @@ src_prepare() { sed -i \ -e "/^LANGUAGES =/ s/=.*/= $(l10n_get_locales)/" \ src/po/Makefile || die + sed -i \ + -e 's:\:${PKG_CONFIG}:' \ + src/Makefile src/gui/Makefile || die } src_compile() { - tc-export CC CXX AR + tc-export CC CXX AR PKG_CONFIG use static && append-ldflags -static # Need two sep make statements to avoid parallel build issues. #588174 -- 2.26.2