summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-03-24 14:16:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-03-24 14:16:30 +0000
commitb3a62fb70574dc43a0612f7a796f94c224fdf705 (patch)
tree57ef0586c8095ce4510faca309383134b5e084b3 /eclass/linux-mod.eclass
parentVersion bump; use autotools-utils. (diff)
downloadgentoo-2-b3a62fb70574dc43a0612f7a796f94c224fdf705.tar.gz
gentoo-2-b3a62fb70574dc43a0612f7a796f94c224fdf705.tar.bz2
gentoo-2-b3a62fb70574dc43a0612f7a796f94c224fdf705.zip
Don't pull modutils if using the eclass from sys-apps/kmod
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index c7c2483faf51..562dfc22f0b7 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.109 2013/03/24 09:54:12 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.110 2013/03/24 14:16:30 ssuominen Exp $
# @ECLASS: linux-mod.eclass
# @MAINTAINER:
@@ -127,7 +127,7 @@ EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_
IUSE="kernel_linux"
SLOT="0"
-RDEPEND="kernel_linux? ( virtual/modutils )"
+[[ ${PN} == kmod ]] || RDEPEND="kernel_linux? ( virtual/modutils )"
DEPEND="${RDEPEND}
sys-apps/sed
kernel_linux? ( virtual/linux-sources )"