On 11/05/2013 04:49 AM, Fabio Pedretti wrote:
From: Aurelien Jarno <[email protected]>
From: Cyril Brulebois <[email protected]>

mesa fails to build on GNU/kFreeBSD, since some parts are not enabled.

Debian bug: http://bugs.debian.org/524690

Patch from Debian package
---
  configure.ac | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0a25047..e250734 100644
--- a/configure.ac
+++ b/configure.ac
@@ -425,7 +425,7 @@ if test "x$enable_asm" = xyes; then
      case "$host_cpu" in
      i?86)
          case "$host_os" in
-        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
+        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
              test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
              ;;
          gnu*)
@@ -435,7 +435,7 @@ if test "x$enable_asm" = xyes; then
          ;;
      x86_64|amd64)
          case "$host_os" in
-        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
+        linux* | *freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
              test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64
              ;;
          esac
@@ -974,7 +974,7 @@ if test "x$enable_dri" = xyes; then
              ;;
          esac
          ;;
-    freebsd* | dragonfly* | *netbsd* | openbsd*)
+    freebsd* | dragonfly* | *netbsd* | openbsd* | kfreebsd*-gnu*)
          DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1"
          DEFINES="$DEFINES -DHAVE_ALIAS"



For the series:

Reviewed-by: Brian Paul <[email protected]>

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to