diff options
Diffstat (limited to 'x11/mesa/APKBUILD')
-rw-r--r-- | x11/mesa/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/mesa/APKBUILD b/x11/mesa/APKBUILD index 3101c9c5e..abc8022b7 100644 --- a/x11/mesa/APKBUILD +++ b/x11/mesa/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mesa pkgver=7.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="Mesa DRI OpenGL library and drivers" url="http://www.mesa3d.org" license="LGPL" @@ -23,6 +23,9 @@ build () msg "Applying $i..." patch -p1 -i $i || return 1 done + ${CC:-gcc} -dumpspecs | sed 's/%(link_now)//g' > "$srcdir"/gcc-specs + export GCC_SPECS="$srcdir"/gcc-specs + ./configure --prefix=/usr \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-dri-drivers=swrast \ |