summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-05-04 09:41:51 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-05-04 09:41:51 +0000
commit3f8a7e217c9b79ad6e218bc8510c6c6a9e361522 (patch)
treeb0dcbebf5af25325d22b6f549a90a12e045aefa8 /sys-apps/pcmcia-cs-modules
parentRequire in-kernel PCMCIA support for 2.6.x, warn users about in-kernel PCMCIA... (diff)
downloadgentoo-2-3f8a7e217c9b79ad6e218bc8510c6c6a9e361522.tar.gz
gentoo-2-3f8a7e217c9b79ad6e218bc8510c6c6a9e361522.tar.bz2
gentoo-2-3f8a7e217c9b79ad6e218bc8510c6c6a9e361522.zip
Bail out if linux-2.6.x detected.
(Portage version: 2.0.51.21)
Diffstat (limited to 'sys-apps/pcmcia-cs-modules')
-rw-r--r--sys-apps/pcmcia-cs-modules/ChangeLog5
-rw-r--r--sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/sys-apps/pcmcia-cs-modules/ChangeLog b/sys-apps/pcmcia-cs-modules/ChangeLog
index 8b161cb0d39d..b8188e2227f4 100644
--- a/sys-apps/pcmcia-cs-modules/ChangeLog
+++ b/sys-apps/pcmcia-cs-modules/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/pcmcia-cs-modules
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs-modules/ChangeLog,v 1.1 2005/04/25 12:00:25 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs-modules/ChangeLog,v 1.2 2005/05/04 09:41:51 brix Exp $
+
+ 04 May 2005; <brix@gentoo.org> pcmcia-cs-modules-3.2.8.ebuild:
+ Bail out if linux-2.6.x detected.
*pcmcia-cs-modules-3.2.8 (25 Apr 2005)
diff --git a/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild b/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild
index 5c1acd0de848..b461f65ff399 100644
--- a/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild
+++ b/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild,v 1.1 2005/04/25 12:00:25 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs-modules/pcmcia-cs-modules-3.2.8.ebuild,v 1.2 2005/05/04 09:41:51 brix Exp $
inherit eutils flag-o-matic toolchain-funcs linux-info
MY_P=${P/-modules/}
S=${WORKDIR}/${MY_P}
-DESCRIPTION="PCMCIA modules for Linux"
+DESCRIPTION="PCMCIA modules for Linux 2.4.x"
HOMEPAGE="http://pcmcia-cs.sourceforge.net"
SRC_URI="mirror://sourceforge/pcmcia-cs/${MY_P}.tar.gz
http://ozlabs.org/people/dgibson/dldwd/monitor-0.13e.patch"
@@ -26,11 +26,11 @@ pkg_setup() {
linux-info_pkg_setup
if kernel_is gt 2 4; then
- ewarn
- ewarn "The recommended PCMCIA configuration for linux-2.6.x is to"
- ewarn "use the in-kernel PCMCIA drivers."
- ewarn
- ebeep 5
+ eerror
+ eerror "This package only works with linux-2.4.x"
+ eerror "For newer kernels, please use the in-kernel PCMCIA drivers."
+ eerror
+ die "linux-${KV_FULL} detected"
fi
if (linux_chkconfig_present PCMCIA || linux_chkconfig_present PCCARD); then