summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-23 14:09:40 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-23 14:09:40 +0000
commitb1190107cf3abb2a71aa0d319fcfcf607865695d (patch)
tree1c1d27e0d6bacf36aa527801f59619a9fe60f28d /lib
parent79e4a3a034f921b15e15aeba255a2e10717c00c6 (diff)
downloaddrakx-kbd-mouse-x11-b1190107cf3abb2a71aa0d319fcfcf607865695d.tar
drakx-kbd-mouse-x11-b1190107cf3abb2a71aa0d319fcfcf607865695d.tar.gz
drakx-kbd-mouse-x11-b1190107cf3abb2a71aa0d319fcfcf607865695d.tar.bz2
drakx-kbd-mouse-x11-b1190107cf3abb2a71aa0d319fcfcf607865695d.tar.xz
drakx-kbd-mouse-x11-b1190107cf3abb2a71aa0d319fcfcf607865695d.zip
psb support
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/card.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index e6054ce..f8bfdb3 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -29,7 +29,7 @@ my %VideoRams = (
my @xfree4_Drivers = ((arch() =~ /^sparc/ ? qw(sunbw2 suncg14 suncg3 suncg6 sunffb sunleo suntcx) :
qw(amd apm ark ast avivo chips cirrus cyrix glide i128 i740 imstt intel
- mga nsc neomagic newport nv rendition openchrome vesa via nouveau
+ mga nsc neomagic newport nv rendition openchrome vesa via nouveau psb
s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng vmware)),
qw(ati glint vga fbdev));
@@ -365,6 +365,7 @@ sub libgl_config_and_more {
my $wanted = $card->{Driver} eq 'fglrx' ? "/etc/ld.so.conf.d/GL/ati$card->{DriverVersion}.conf" :
$card->{Driver} eq 'nvidia' ? "/etc/nvidia$card->{DriverVersion}/ld.so.conf" :
+ $card->{Driver} eq 'psb' ? "/etc/ld.so.conf.d/GL/libdrm-psb.conf" :
'/etc/ld.so.conf.d/GL/standard.conf';
my $link = "$::prefix/etc/alternatives/gl_conf";
my $need_run_ldconfig = readlink($link) ne $wanted;