# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../mesa/no-x86.patch.cross # Copyright (C) 2008 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- Mesa-6.5.2/src/mesa/Makefile.orig 2006-12-02 19:14:16.000000000 +0100 +++ Mesa-6.5.2/src/mesa/Makefile 2007-10-25 09:40:03.000000000 +0200 @@ -146,8 +146,13 @@ subdirs: - @ (cd x86 ; $(MAKE)) - @ (cd x86-64 ; $(MAKE)) + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + fi + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + (cd x86-64 ; $(MAKE)) ; \ + fi install: default