TARBALL_PATTERN := MesaLib-*.tar.bz2
TARBALL_TO_DIR_L := MesaLib-%.tar.bz2
TARBALL_TO_DIR_R := Mesa-%
-PATCHES :=
+PATCHES := bin/config.sub
CONFIGURE_ARGS = --enable-osmesa --with-osmesa-bits=8 --disable-dri --disable-glx --with-dri-drivers=swrast --without-gallium-drivers --disable-egl --enable-shared
-include ../common.mk
+include ../common_automake.mk
--- /dev/null
+--- config.sub 2013-06-17 11:39:39.670720710 +0800
++++ config.sub 2013-06-17 11:48:09.149384231 +0800
+@@ -1350,2 +1350,3 @@
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
++ | -acess2 \
+ | -aos* | -aros* \
+