I think we could simplify this a bit.

2013/11/5 Fabio Pedretti <[email protected]>:
> 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*)
*freebsd* already includes 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*)
same as above

>              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*)

To be consistent we could use *freebsd* as well.

Andreas.

>          DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1"
>          DEFINES="$DEFINES -DHAVE_ALIAS"
>
> --
> 1.8.3.2
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to