summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-24 01:22:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-24 01:22:24 +0100
commit71b1a5c49dbfc9c05dc55673189fac8090a9fedc (patch)
treeacbcd3c8d3ae4d8d7316a4a4a4b811f9e37b9d97 /net-misc/cgminer
parentnet-misc/cgminer: Fixed build with sys-libs/ncurses[tinfo] (diff)
downloadgentoo-71b1a5c49dbfc9c05dc55673189fac8090a9fedc.tar.gz
gentoo-71b1a5c49dbfc9c05dc55673189fac8090a9fedc.tar.bz2
gentoo-71b1a5c49dbfc9c05dc55673189fac8090a9fedc.zip
net-misc/cgminer: Use ${PKG_CONFIG} instead of pkg-config
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/cgminer')
-rw-r--r--net-misc/cgminer/cgminer-4.10.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild
index 4142f3b8957e..9f112f4a838b 100644
--- a/net-misc/cgminer/cgminer-4.10.0.ebuild
+++ b/net-misc/cgminer/cgminer-4.10.0.ebuild
@@ -65,7 +65,7 @@ src_configure() {
--with-system-jansson
)
econf "${myeconfargs[@]}" \
- NCURSES_LIBS="$(pkg-config --libs ncurses)"
+ NCURSES_LIBS="$(${PKG_CONFIG} --libs ncurses)"
# sanitize directories (is this still needed?)
sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h || die
}