diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 26f0c17f67ab851d950b1c651ea3a2b5811d04b4..93987d467cbbe4e71d8849aff87ed6e07d18b05b 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,22 +1,22 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=mesa
 pkgver=7.8.2
-pkgrel=0
+pkgrel=1
 pkgdesc="Mesa DRI OpenGL library"
 url="http://www.mesa3d.org"
 license="LGPL"
 depends=
 subpackages="$pkgname-dev 
+	$pkgname-dri-ati:ati
 	$pkgname-dri-intel:intel
 	$pkgname-dri-mach64:mach64
 	$pkgname-dri-mga:mga
 	$pkgname-dri-r128:r128
 	$pkgname-dri-savage:savage
 	$pkgname-dri-sis:sis
+	$pkgname-dri-swrast:swrast
 	$pkgname-dri-tdfx:tdfx
 	$pkgname-dri-unichrome:unichrome
-	$pkgname-dri-ati:ati
-	$pkgname-dri-swrast:swrast
 	"
 
 makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
@@ -48,7 +48,7 @@ build() {
 		--disable-asm \
 		--disable-glx-tls \
 		--with-driver=dri \
-		--with-state-trackers=dri,egl \
+		--with-state-trackers=dri,glx,egl \
 		--enable-xcb \
 		--disable-glut \
 		--disable-glw || return 1