summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-09 20:48:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-09 20:48:50 +0000
commit84a28f848b0b1e452d96285c41268f469d9bec29 (patch)
treefa3dfe258cd07ddee7259f3e11bd158e1b3baafe
parentRemove LIBDIR from env #266688, switch to get_libdir, and install shared libs... (diff)
downloadgentoo-2-84a28f848b0b1e452d96285c41268f469d9bec29.tar.gz
gentoo-2-84a28f848b0b1e452d96285c41268f469d9bec29.tar.bz2
gentoo-2-84a28f848b0b1e452d96285c41268f469d9bec29.zip
Fix by Andrei Slavoiu for drm header install with cross builds #267145.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--sys-kernel/linux-headers/ChangeLog6
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild4
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild4
3 files changed, 9 insertions, 5 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 67f0acd7976c..986e47651951 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.285 2009/02/16 05:12:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.286 2009/05/09 20:48:50 vapier Exp $
+
+ 09 May 2009; Mike Frysinger <vapier@gentoo.org>
+ linux-headers-2.6.27-r2.ebuild, linux-headers-2.6.28-r1.ebuild:
+ Fix by Andrei Slavoiu for drm header install with cross builds #267145.
16 Feb 2009; Mike Frysinger <vapier@gentoo.org>
linux-headers-2.6.28-r1.ebuild:
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild
index e3c362e85da1..fc1eb79cce4d 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild,v 1.8 2009/01/23 11:32:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild,v 1.9 2009/05/09 20:48:50 vapier Exp $
ETYPE="headers"
H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86"
@@ -40,7 +40,7 @@ src_install() {
find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f
# provided by libdrm (for now?)
- rm -rf "${D}"/usr/include/drm
+ rm -rf "${D}"/$(kernel_header_destdir)/drm
}
src_test() {
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild
index fa14cd6b09a0..8f22cc52e27b 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild,v 1.2 2009/02/16 05:12:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild,v 1.3 2009/05/09 20:48:50 vapier Exp $
ETYPE="headers"
H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86"
@@ -42,7 +42,7 @@ src_install() {
find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f
# provided by libdrm (for now?)
- rm -rf "${D}"/usr/include/drm
+ rm -rf "${D}"/$(kernel_header_destdir)/drm
}
src_test() {