summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2009-03-01 23:26:14 +0000
committerJoshua Kinard <kumba@gentoo.org>2009-03-01 23:26:14 +0000
commit667f2b843f63a4f10fe72a99999989d80c2b511e (patch)
tree1cdc6d3796ffda08413edb64b40cf12ab32a484f /sys-boot
parentadd 1.7 branch (diff)
downloadgentoo-2-667f2b843f63a4f10fe72a99999989d80c2b511e.tar.gz
gentoo-2-667f2b843f63a4f10fe72a99999989d80c2b511e.tar.bz2
gentoo-2-667f2b843f63a4f10fe72a99999989d80c2b511e.zip
Make dvhtool cross-compilable via toolchain-funcs
(Portage version: 2.1.6.7/cvs/Linux mips64)
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/dvhtool/ChangeLog5
-rw-r--r--sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/sys-boot/dvhtool/ChangeLog b/sys-boot/dvhtool/ChangeLog
index 3e6d9672febb..0fd1c987689f 100644
--- a/sys-boot/dvhtool/ChangeLog
+++ b/sys-boot/dvhtool/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/dvhtool
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/dvhtool/ChangeLog,v 1.12 2009/03/01 22:57:00 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/dvhtool/ChangeLog,v 1.13 2009/03/01 23:26:14 kumba Exp $
+
+ 01 Mar 2009; Joshua Kinard <kumba@gentoo.org> dvhtool-1.0.1-r2.ebuild:
+ Make dvhtool cross-compilable via toolchain-funcs
01 Mar 2009; Joshua Kinard <kumba@gentoo.org> dvhtool-1.0.1-r2.ebuild:
Fix a typo in a patch filename.
diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
index 705188bb56fd..5a7cd7cc51ce 100644
--- a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
+++ b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild,v 1.2 2009/03/01 22:57:00 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild,v 1.3 2009/03/01 23:26:14 kumba Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based workstations."
HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool"
@@ -32,8 +32,11 @@ src_unpack() {
src_compile() {
cd "${S}.orig"
- econf || die "econf failed"
- emake || die "Failed to compile"
+ CC=$(tc-getCC) LD=$(tc-getLD) \
+ econf || die "econf failed"
+
+ CC=$(tc-getCC) LD=$(tc-getLD) \
+ emake || die "Failed to compile"
}
src_install() {