mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user