summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2007-01-02 22:23:06 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2007-01-02 22:23:06 +0000
commitb526aee8773903b0c663a85711e25a48f554611c (patch)
tree00d6db84b8d487205eac023dee6fb0bd10cbd3e2 /x11-base
parentRemove mysql dep wrt bug #159781. (diff)
downloadgentoo-2-b526aee8773903b0c663a85711e25a48f554611c.tar.gz
gentoo-2-b526aee8773903b0c663a85711e25a48f554611c.tar.bz2
gentoo-2-b526aee8773903b0c663a85711e25a48f554611c.zip
Fixes i810 video card selection for FreeBSD.
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/x11-drm/ChangeLog6
-rw-r--r--x11-base/x11-drm/x11-drm-20060608-r1.ebuild14
2 files changed, 15 insertions, 5 deletions
diff --git a/x11-base/x11-drm/ChangeLog b/x11-base/x11-drm/ChangeLog
index 391db1c84335..6ff5464f0ac5 100644
--- a/x11-base/x11-drm/ChangeLog
+++ b/x11-base/x11-drm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/x11-drm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.48 2007/01/02 22:06:04 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.49 2007/01/02 22:23:06 the_paya Exp $
+
+ 02 Jan 2007; Javier Villavicencio <the_paya@gentoo.org>
+ x11-drm-20060608-r1.ebuild:
+ Fixes i810 video cards selection for FreeBSD.
02 Jan 2007; Donnie Berkholz <dberkholz@gentoo.org>;
x11-drm-20060608-r1.ebuild:
diff --git a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild
index 2b5d5cc4df54..7505251272d4 100644
--- a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild
+++ b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.3 2007/01/02 22:06:04 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.4 2007/01/02 22:23:06 the_paya Exp $
inherit eutils x11 linux-mod
@@ -160,14 +160,20 @@ kernel_setup() {
}
set_vidcards() {
- use kernel_linux && set_kvobj
- use kernel_FreeBSD && KV_OBJ="ko"
+ if use kernel_linux; then
+ set_kvobj
+ I810_VIDCARDS="i810.${KV_OBJ} i830.${KV_OBJ} i915.${KV_OBJ}"
+ elif use kernel_FreeBSD; then
+ KV_OBJ="ko"
+ # bsd does not have i810/i830, only i915:
+ I810_VIDCARDS="i915.${KV_OBJ}"
+ fi
VIDCARDS=""
if [[ -n "${VIDEO_CARDS}" ]]; then
use video_cards_i810 && \
- VIDCARDS="${VIDCARDS} i810.${KV_OBJ} i830.${KV_OBJ} i915.${KV_OBJ}"
+ VIDCARDS="${VIDCARDS} ${I810_VIDCARDS}"
use video_cards_mach64 && \
VIDCARDS="${VIDCARDS} mach64.${KV_OBJ}"
use video_cards_mga && \