summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-04 18:30:05 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-04 18:30:05 +0000
commitb14591b59b20395af4013718b5315c2adee3e3e3 (patch)
tree78fcf4639b92e35571dd9edb80a1b33fc0ffcf27 /sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild
parentAdded a patch for 2.6 linux headers; closes bug #37081. (diff)
downloadgentoo-2-b14591b59b20395af4013718b5315c2adee3e3e3.tar.gz
gentoo-2-b14591b59b20395af4013718b5315c2adee3e3e3.tar.bz2
gentoo-2-b14591b59b20395af4013718b5315c2adee3e3e3.zip
Fixed headers, stabilized lm-sensors-2.8.1 on 'x86', and added a check to 2.8.2 to copy headers from the kernel source if they aren't found in the main tree.
Diffstat (limited to 'sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild')
-rw-r--r--sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild b/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild
index e1e3b2e0d6ff..076bac262b39 100644
--- a/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild
+++ b/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild,v 1.3 2003/12/16 17:01:14 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.8.2.ebuild,v 1.4 2004/01/04 18:29:46 plasmaroo Exp $
inherit flag-o-matic
@@ -73,6 +73,10 @@ src_compile() {
ewarn "WARNING:- This package will be slotted as ${SLOT}!"
fi
+ if [ ! -e ${MYI2C}/linux/i2c.h ]; then
+ cp $LINUX/include/linux/i2c* ${MYI2C}/linux
+ fi
+
echo; einfo "You may safely ignore any errors from compilation"
einfo "that contain 'No such file' references."