app-shells/pdmenu: Make use of $(tc-getCC) to get compiler name right. Fixes bug 483750.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-11-09 10:44:52 +00:00
parent 8f5b72ceb4
commit c34d7eca2b
+6 -2
View File
@@ -4,7 +4,7 @@
EAPI=5
inherit eutils
inherit eutils toolchain-funcs
DESCRIPTION="A simple console menu program"
HOMEPAGE="http://joeyh.name/code/pdmenu/"
@@ -32,11 +32,15 @@ src_prepare() {
}
src_configure() {
econf \
CC=$(tc-getCC) econf \
$(use_with gpm) \
$(use_enable nls)
}
src_compile() {
emake CC=$(tc-getCC) || die
}
src_install() {
dobin "${PN}"
dodoc doc/ANNOUNCE doc/BUGS doc/TODO