commit:     b88ff65fca383a0bc7f7e66ad99a04e95bb3d3e9
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Thu May 17 10:23:33 2018 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Thu May 17 10:25:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88ff65f

virtual/os-headers: no linux-headers for prefix-guest

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 virtual/os-headers/os-headers-0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/virtual/os-headers/os-headers-0-r1.ebuild 
b/virtual/os-headers/os-headers-0-r1.ebuild
index 2275804ebdb..66f93241d41 100644
--- a/virtual/os-headers/os-headers-0-r1.ebuild
+++ b/virtual/os-headers/os-headers-0-r1.ebuild
@@ -11,7 +11,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~s390 ~s
 # sets a different SLOT for cross-building
 RDEPEND="
        || (
-               kernel_linux? ( sys-kernel/linux-headers:0 )
+               kernel_linux? (
+                       !prefix-guest? ( sys-kernel/linux-headers:0 )
+               )
                kernel_Winnt? (
                        elibc_mingw? ( dev-util/mingw64-runtime )
                )

Reply via email to