summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-07-29 22:17:03 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-07-29 22:17:03 +0000
commite0f8c99cede99c2b83951a67fd8830264f8dc14a (patch)
treea199ad3a60a3c3b006dcc67d59751cd53b505801 /dev-libs/libtrain
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-e0f8c99cede99c2b83951a67fd8830264f8dc14a.tar.gz
gentoo-2-e0f8c99cede99c2b83951a67fd8830264f8dc14a.tar.bz2
gentoo-2-e0f8c99cede99c2b83951a67fd8830264f8dc14a.zip
Respecting CC variable, closes bug #243932
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-libs/libtrain')
-rw-r--r--dev-libs/libtrain/ChangeLog7
-rw-r--r--dev-libs/libtrain/libtrain-0.9b.ebuild11
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-libs/libtrain/ChangeLog b/dev-libs/libtrain/ChangeLog
index 2227da22c766..35f0d82e8569 100644
--- a/dev-libs/libtrain/ChangeLog
+++ b/dev-libs/libtrain/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libtrain
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtrain/ChangeLog,v 1.9 2007/05/14 20:18:59 bangert Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtrain/ChangeLog,v 1.10 2009/07/29 22:17:03 vostorga Exp $
+
+ 29 Jul 2009; Víctor Ostorga <vostorga@gentoo.org> libtrain-0.9b.ebuild:
+ Respecting CC variable, closes bug #243932
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/dev-libs/libtrain/libtrain-0.9b.ebuild b/dev-libs/libtrain/libtrain-0.9b.ebuild
index 3cc875d55c04..7627713f7f37 100644
--- a/dev-libs/libtrain/libtrain-0.9b.ebuild
+++ b/dev-libs/libtrain/libtrain-0.9b.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtrain/libtrain-0.9b.ebuild,v 1.11 2005/07/21 17:19:21 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtrain/libtrain-0.9b.ebuild,v 1.12 2009/07/29 22:17:03 vostorga Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Library for calculating fastest train routes"
SRC_URI="http://www.on.rim.or.jp/~katamuki/software/train/${P}.tar.gz"
@@ -12,12 +14,13 @@ KEYWORDS="~ppc sparc x86"
IUSE=""
DEPEND="virtual/libc"
+RDEPEND="${DEPEND}"
src_compile() {
econf || die
- emake || die
+ emake CC="$(tc-getCC)" || die
}
src_install () {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
}