summaryrefslogtreecommitdiff
path: root/testing/mesa
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-12 14:14:44 +0000
committerroot <root@rshg047.dnsready.net>2011-07-12 14:14:44 +0000
commitec9bd2e246eb94181a9254dcb2de7ddc191bb8cc (patch)
tree2f7af52e79332c2dc24b2c28ac3fceb0cbda7f10 /testing/mesa
parente03f4b9bc9da3327de94bc58aa92ecb836c1580d (diff)
Tue Jul 12 14:14:44 UTC 2011
Diffstat (limited to 'testing/mesa')
-rw-r--r--testing/mesa/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
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 <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
@@ -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 \