summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-05 09:56:08 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-05 09:56:08 +0000
commite95eebea424e20970bf2627534d4aa1727865af3 (patch)
tree91dc812975f6c45b21009bcfa866134a2e1ee1c9 /sys-apps/apmd/apmd-3.2.1_p4.ebuild
parentfixed split line in gnustep-base:libffi (diff)
downloadhistorical-e95eebea424e20970bf2627534d4aa1727865af3.tar.gz
historical-e95eebea424e20970bf2627534d4aa1727865af3.tar.bz2
historical-e95eebea424e20970bf2627534d4aa1727865af3.zip
Fix cross compiling thanks to Josu López Fernández <zamorate@zamorate.net> in bug 134104
Package-Manager: portage-2.1_rc4-r1
Diffstat (limited to 'sys-apps/apmd/apmd-3.2.1_p4.ebuild')
-rw-r--r--sys-apps/apmd/apmd-3.2.1_p4.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/apmd/apmd-3.2.1_p4.ebuild b/sys-apps/apmd/apmd-3.2.1_p4.ebuild
index d56262ce1c4c..2c5e737b6d7b 100644
--- a/sys-apps/apmd/apmd-3.2.1_p4.ebuild
+++ b/sys-apps/apmd/apmd-3.2.1_p4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.1_p4.ebuild,v 1.16 2005/11/09 07:19:24 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.1_p4.ebuild,v 1.17 2006/06/05 09:56:08 genstef Exp $
-inherit eutils multilib
+inherit eutils multilib toolchain-funcs
MY_PV="${PV%_p*}"
MY_P="${PN}_${MY_PV}"
@@ -47,7 +47,7 @@ src_unpack() {
}
src_compile() {
- emake || die "emake failed"
+ emake CC=$(tc-getCC) || die "emake failed"
}
src_install() {