diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-23 12:51:09 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-23 12:51:09 +0000 |
commit | 9a9975019278e4b91125755d9023b1ebb6714e62 (patch) | |
tree | 20e2d002399efadaeb073fda0529b4b6ddc8e48a /sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild | |
parent | Disable the post-install-scripts of ooo-build which break the build for some (diff) | |
download | gentoo-2-9a9975019278e4b91125755d9023b1ebb6714e62.tar.gz gentoo-2-9a9975019278e4b91125755d9023b1ebb6714e62.tar.bz2 gentoo-2-9a9975019278e4b91125755d9023b1ebb6714e62.zip |
No linux-2.4.x support for AMD64, bug #108270.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild')
-rw-r--r-- | sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild b/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild index f9aae1acef9a..1213763eac55 100644 --- a/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild +++ b/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild,v 1.4 2005/08/25 18:25:40 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.9.1-r1.ebuild,v 1.5 2005/10/23 12:48:46 brix Exp $ inherit eutils flag-o-matic linux-info toolchain-funcs multilib @@ -16,7 +16,8 @@ KEYWORDS="amd64 ppc x86" IUSE="sensord" DEPEND="sys-apps/sed ppc? ( >=virtual/linux-sources-2.5 ) - !ppc? ( || ( >=virtual/linux-sources-2.5 sys-apps/lm_sensors-modules ) )" + amd64? ( >=virtual/linux-sources-2.5 ) + x86? ( || ( >=virtual/linux-sources-2.5 sys-apps/lm_sensors-modules ) )" RDEPEND="dev-lang/perl sensord? ( net-analyzer/rrdtool )" @@ -24,11 +25,11 @@ pkg_setup() { linux-info_pkg_setup if kernel_is 2 4; then - if use ppc; then + if use ppc || use amd64; then eerror - eerror "${P} does not support kernel 2.4.x under PPC." + eerror "${P} does not support kernel 2.4.x under PPC and AMD64." eerror - die "${P} does not support kernel 2.4.x under PPC." + die "${P} does not support kernel 2.4.x under PPC and AMD64." elif ! has_version =sys-apps/lm_sensors-modules-${PV}; then eerror eerror "${P} needs sys-apps/lm_sensors-modules-${PV} to be installed" |