[Mesa-dev] R: Re: [PATCH 3/4] mesa: fix build on kFreeBSD
Fabio Pedretti
fabio.ped at libero.it
Wed Nov 6 01:56:28 PST 2013
Done, I also improved commit message of patches 3 and 4. Updated patches
follow.
>I think we could simplify this a bit.
>
>2013/11/5 Fabio Pedretti <fabio.ped at libero.it>:
>> From: Aurelien Jarno <aurel32 at debian.org>
>> From: Cyril Brulebois <kibi at debian.org>
>>
>> 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
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list