diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-03-14 22:51:08 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-14 23:01:57 -0700 |
commit | 5bfe0f94df7802976a948b541b56be5fc68389e3 (patch) | |
tree | fdba04db2e8319a8b03e9d91f8fcf6f69bfd56aa /sys-apps/lshw | |
parent | dev-libs/pkcs11-helper: Stable for HPPA (bug #611514). (diff) | |
download | gentoo-5bfe0f94df7802976a948b541b56be5fc68389e3.tar.gz gentoo-5bfe0f94df7802976a948b541b56be5fc68389e3.tar.bz2 gentoo-5bfe0f94df7802976a948b541b56be5fc68389e3.zip |
sys-apps/lshw: support proper $PKG_CONFIG settings
Diffstat (limited to 'sys-apps/lshw')
-rw-r--r-- | sys-apps/lshw/lshw-02.17b-r2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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\>:${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 |