summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-09 10:43:20 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-09 10:44:52 +0000
commitc34d7eca2b6f60bd4982dffd55eb9bc2e05ce6b2 (patch)
treefa484fb8b5878f29859900653ffbebcd0a8306f8 /app-shells
parentapp-text/jabref-bin: amd64 stable wrt bug #561416 (diff)
downloadgentoo-c34d7eca2b6f60bd4982dffd55eb9bc2e05ce6b2.tar.gz
gentoo-c34d7eca2b6f60bd4982dffd55eb9bc2e05ce6b2.tar.bz2
gentoo-c34d7eca2b6f60bd4982dffd55eb9bc2e05ce6b2.zip
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>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/pdmenu/pdmenu-1.3.4.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-shells/pdmenu/pdmenu-1.3.4.ebuild b/app-shells/pdmenu/pdmenu-1.3.4.ebuild
index 88f94c820ffb..bce67fcabf53 100644
--- a/app-shells/pdmenu/pdmenu-1.3.4.ebuild
+++ b/app-shells/pdmenu/pdmenu-1.3.4.ebuild
@@ -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