diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-06 23:16:37 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-06 23:16:37 +0000 |
commit | 2704c8c00bb9da90132b727f86ced7fbfa77c1eb (patch) | |
tree | c21906c5f4011a17e94cfed12c6a7758c642afef /eclass | |
parent | Bug 283320: Fix minor typo for config.gz. Improve ewarn output, more migration. (diff) | |
download | historical-2704c8c00bb9da90132b727f86ced7fbfa77c1eb.tar.gz historical-2704c8c00bb9da90132b727f86ced7fbfa77c1eb.tar.bz2 historical-2704c8c00bb9da90132b727f86ced7fbfa77c1eb.zip |
Bug #283320: The dependancy for linux-sources now moves into linux-mod, where it is actually required.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-info.eclass | 7 | ||||
-rw-r--r-- | eclass/linux-mod.eclass | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 1e4be54c282e..a21d9d713f91 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -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/eclass/linux-info.eclass,v 1.64 2009/09/06 23:12:29 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.65 2009/09/06 23:16:37 robbat2 Exp $ # # Original author: John Mylchreest <johnm@gentoo.org> # Maintainer: kernel-misc@gentoo.org @@ -110,9 +110,12 @@ inherit toolchain-funcs versionator EXPORT_FUNCTIONS pkg_setup -DEPEND="kernel_linux? ( virtual/linux-sources )" +DEPEND="" RDEPEND="" +[ -z "${I_KNOW_WHAT_I_AM_DOING}" ] && \ +DEPEND="kernel_linux? ( virtual/linux-sources )" + # Overwritable environment Var's # --------------------------------------- KERNEL_DIR="${KERNEL_DIR:-${ROOT}usr/src/linux}" diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index a4b2c9ac7b53..53baedfeba53 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.94 2009/07/15 17:21:11 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.95 2009/09/06 23:16:37 robbat2 Exp $ # Author(s): John Mylchreest <johnm@gentoo.org>, # Stefan Schweizer <genstef@gentoo.org> @@ -138,7 +138,8 @@ SLOT="0" DESCRIPTION="Based on the $ECLASS eclass" RDEPEND="kernel_linux? ( virtual/modutils )" DEPEND="${RDEPEND} - sys-apps/sed" + sys-apps/sed + kernel_linux? ( virtual/linux-sources )" # eclass utilities # ---------------------------------- |