diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-26 08:17:26 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-26 08:17:26 +0000 |
commit | b01ccf3cdac35e45dce924eb9b9592976000f904 (patch) | |
tree | 5a88c06e5fc35a198f3f563427f03938ec74d1ec | |
parent | Declare this package as VIRTUAL_MODUTILS=1 for use with linux-mod.eclass wrt ... (diff) | |
download | gentoo-2-b01ccf3cdac35e45dce924eb9b9592976000f904.tar.gz gentoo-2-b01ccf3cdac35e45dce924eb9b9592976000f904.tar.bz2 gentoo-2-b01ccf3cdac35e45dce924eb9b9592976000f904.zip |
Control pulling in linux-mod dependencies based on VIRTUAL_MODUTILS variable, set in eg. sys-apps/kmod
-rw-r--r-- | eclass/linux-mod.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 176edcc2bd3e..ef069cd495cd 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.111 2013/03/26 07:36:11 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.112 2013/03/26 08:17:26 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" -if ! [[ ${PN} == kmod ]]; then +if [[ -z ${VIRTUAL_MODUTILS} ]]; then RDEPEND="kernel_linux? ( virtual/modutils )" DEPEND="${RDEPEND} sys-apps/sed |