summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/i2c/i2c-2.8.8.ebuild')
-rw-r--r--sys-apps/i2c/i2c-2.8.8.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/i2c/i2c-2.8.8.ebuild b/sys-apps/i2c/i2c-2.8.8.ebuild
index b6c4bfd5692f..ef2d3807fcb6 100644
--- a/sys-apps/i2c/i2c-2.8.8.ebuild
+++ b/sys-apps/i2c/i2c-2.8.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.8.ebuild,v 1.1 2004/10/23 22:40:37 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.8.ebuild,v 1.2 2004/11/05 16:47:36 plasmaroo Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="I2C Bus support for 2.4.x kernels"
HOMEPAGE="http://www2.lm-sensors.nu/~lm78/"
@@ -83,7 +83,7 @@ src_compile () {
einfo "that contain 'No such file' references."
echo '>>> Compiling...'
- emake CC=${CC} LINUX=$LINUX clean all
+ emake CC=$(tc-getCC) LINUX=$LINUX clean all
if [ $? != 0 ]; then
eerror "I2C requires the source of a compatible kernel"
eerror "version installed in /usr/src/linux"
@@ -97,7 +97,7 @@ src_install() {
echo ${KV} | grep -q 2.4.
if [ "$?" -eq '0' -o "$LINUX" != '' ]; then
emake \
- CC=${CC} \
+ CC=$(tc-getCC) \
LINUX=$LINUX \
LINUX_INCLUDE_DIR=/usr/include/linux \
DESTDIR=${D} \