Skip to content

Commit

Permalink
app-shells/pdmenu: Make use of $(tc-getCC) to get compiler name right…
Browse files Browse the repository at this point in the history
…. Fixes bug 483750.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Nov 9, 2015
1 parent 8f5b72c commit c34d7ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app-shells/pdmenu/pdmenu-1.3.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI=5

inherit eutils
inherit eutils toolchain-funcs

DESCRIPTION="A simple console menu program"
HOMEPAGE="http://joeyh.name/code/pdmenu/"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c34d7ec

Please sign in to comment.