summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild')
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild
index 136af829a6aa..f2d2902df600 100644
--- a/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild
+++ b/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild,v 1.1 2006/01/02 13:57:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.11_rc2.ebuild,v 1.2 2006/01/10 12:17:55 flameeyes Exp $
inherit linux-mod flag-o-matic eutils
@@ -57,6 +57,11 @@ pkg_setup() {
done
fi
+ if kernel_is ge 2 6 15; then
+ CONFIG_CHECK="${CONFIG_CHECK} CONFIG_PM_LEGACY"
+ CONFIG_PM_LEGACY_ERROR="You must enable CONFIG_PM_LEGACY to build alsa-driver with recent kernels."
+ fi
+
linux-mod_pkg_setup
if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then