summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {