Hi,

After yet more discussion on irc, we found out that the attached patch
is yet better.

Samuel
--- mesa-6.5.3-orig/debian/scripts/choose-configs       2007-05-30 
23:31:20.000354544 +0000
+++ mesa-6.5.3/debian/scripts/choose-configs    2007-05-30 23:39:46.000866560 
+0000
@@ -22,10 +22,14 @@
 endif
 
 # and for the GLX/DRI-enabled libGL
-ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
-       DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
+ifneq ($(wildcard configs/debian-indirect-$(DEB_BUILD_ARCH)),)
+       DRI_CONFIGS := debian-indirect-$(DEB_BUILD_ARCH)
 else
+  ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
+       DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
+  else
        DRI_CONFIGS := debian-dri-any
+  endif
 endif
 
 ##############################################################################
--- mesa-6.5.3-orig/configs/debian-indirect-hurd-i386   1970-01-01 
00:00:00.000000000 +0000
+++ mesa-6.5.3/configs/debian-indirect-hurd-i386        2007-05-30 
23:40:35.000147363 +0000
@@ -0,0 +1,9 @@
+# Configuration for building the DRI drivers on the build architecture.
+
+include $(TOP)/configs/linux-indirect
+include $(TOP)/configs/debian-indirect-default
+
+CONFIG_NAME = debian-indirect-hurd-i386
+
+# vim: ft=make
+
--- mesa-6.5.3-orig/configs/debian-indirect-default     1970-01-01 
00:00:00.000000000 +0000
+++ mesa-6.5.3/configs/debian-indirect-default  2007-05-30 23:43:02.000389834 
+0000
@@ -0,0 +1,7 @@
+# Configuration defaults for building GLX-enabled libGL.
+
+include $(TOP)/configs/debian-dri-default
+
+CONFIG_NAME = debian-indirect-default
+
+DRI_DIRS = 
--- mesa-6.5.3-orig/debian/control      2007-05-30 23:45:29.000672311 +0000
+++ mesa-6.5.3/debian/control   2007-05-30 23:44:16.000620397 +0000
@@ -153,7 +151,7 @@
 Package: libgl1-mesa-dri
 Section: libs
 Priority: optional
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 
kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
 Depends: ${shlibs:Depends}, libgl1-mesa-glx (= ${binary:Version})
 Suggests: libglide3
 Conflicts: xlibmesa-dri (<< 1:7.0.0)
@@ -174,7 +172,7 @@
 Package: libgl1-mesa-dri-dbg
 Section: libdevel
 Priority: extra
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 
kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
 Depends: libgl1-mesa-dri (= ${binary:Version})
 Description: A free implementation of the OpenGL API -- DRI modules -- 
debugging symbols
  This version of Mesa provides GLX and DRI capabilities: it is capable of

Reply via email to