On Fre, 2011-02-11 at 00:30 +0100, Javier Serrano Polo wrote: 
> I've been using this for lenny:
> 
> diff -Nru mesa-7.0.3.orig/configs/debian-dri-default 
> mesa-7.0.3/configs/debian-d
> ri-default
> --- mesa-7.0.3.orig/configs/debian-dri-default  2010-07-08 20:32:49.000000000 
> +0200
> +++ mesa-7.0.3/configs/debian-dri-default       2010-07-08 20:33:17.000000000 
> +0200
> @@ -15,8 +15,9 @@
>  
>  LIB_DIR = lib/glx
>  
> +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
>  DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
> -DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
> +DRI_DRIVER_SEARCH_DIR = /usr/lib/$(DEB_HOST_GNU_TYPE)/dri:/usr/lib/dri
>  
>  DRI_DIRS = mach64 mga r128 r200 r300 radeon s3v savage tdfx trident
>  
> <EOF>
> 
> You may want to use /usr/lib$(BITS)/dri:/usr/lib/dri instead.

Yeah, AFAICT DEB_HOST_GNU_TYPE wouldn't help on amd64 at least.

I'd also recommend keeping /usr/lib/dri first in the path, so native
apps can succeed on the first lookup.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297417009.23752.78.camel@thor.local

Reply via email to