From ec9bd2e246eb94181a9254dcb2de7ddc191bb8cc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Jul 2011 14:14:44 +0000 Subject: Tue Jul 12 14:14:44 UTC 2011 --- testing/mesa/PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'testing/mesa') diff --git a/testing/mesa/PKGBUILD b/testing/mesa/PKGBUILD index 07cc07301..2da496b53 100644 --- a/testing/mesa/PKGBUILD +++ b/testing/mesa/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 131079 2011-07-10 09:28:29Z andyrtr $ +# $Id: PKGBUILD 131188 2011-07-11 16:27:41Z andyrtr $ # Maintainer: Jan de Groot # Maintainer: Andreas Radke @@ -14,7 +14,7 @@ if [ "${_git}" = "true" ]; then else pkgver=7.11rc1 fi -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') makedepends=('glproto>=1.4.14' 'libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.3' 'libxt>=1.1.1' 'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm') @@ -34,8 +34,10 @@ md5sums=('5c65a0fe315dd347e09b1f2826a1df5a' '2246d97eb0cfb1f6d2bf8a54b533d07f') build() { - cd ${srcdir}/?esa-* - + cd ${srcdir}/?esa-* + # fix link errors: https://bugs.archlinux.org/task/25093 + export LDFLAGS=${LDFLAGS/-Wl,--as-needed/} + if [ "${_git}" = "true" ]; then patch -Np1 -i ${srcdir}/git_fixes.patch autoreconf -vfi @@ -43,7 +45,7 @@ if [ "${_git}" = "true" ]; then --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-gallium-drivers=r300,r600,nouveau,swrast \ --enable-gallium-llvm \ - --enable-gallium-egl \ + --enable-gallium-egl --enable-shared-glapi\ --enable-glx-tls \ --with-driver=dri \ --enable-xcb \ -- cgit v1.2.3-54-g00ecf