summaryrefslogtreecommitdiffstats
path: root/libgl/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-11 09:07:50 +0200
committerpiernov <piernov@piernov.org>2012-07-11 09:07:50 +0200
commitbfc5266b0c6aebe3fcef759970574e01a16071a5 (patch)
treeab0cada9afa3d3eceb7a447c724de9706ab96655 /libgl/Pkgfile
parent23babdb6d16e50bd0c93eda8963c2600a45614cc (diff)
downloadnutyx-pakxe-bfc5266b0c6aebe3fcef759970574e01a16071a5.tar.gz
nutyx-pakxe-bfc5266b0c6aebe3fcef759970574e01a16071a5.tar.bz2
nutyx-pakxe-bfc5266b0c6aebe3fcef759970574e01a16071a5.tar.xz
nutyx-pakxe-bfc5266b0c6aebe3fcef759970574e01a16071a5.zip
libgl 76b44034-1 màj port
Diffstat (limited to 'libgl/Pkgfile')
-rw-r--r--libgl/Pkgfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgl/Pkgfile b/libgl/Pkgfile
index 76fbf6fd0..175ee425b 100644
--- a/libgl/Pkgfile
+++ b/libgl/Pkgfile
@@ -7,7 +7,7 @@
name=libgl
version=8.0.99
-release=e2c08e82-1
+release=76b44034-1
#source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
source=(http://cgit.freedesktop.org/mesa/mesa/snapshot/mesa-${release%-*}.tar.gz)
@@ -16,11 +16,11 @@ build() {
./autogen.sh
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $SRC -name '*.py')
- sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" configs/{default,autoconf.in}
+ sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" configs/{default,current.in}
sed -i -e "s|python|python2|" src/gallium/auxiliary/Makefile
sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/tests/trivial/Makefile
- sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/targets/opencl/Makefile.am
+# sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/targets/opencl/Makefile.am
./configure $XORG_CONFIG \
--enable-opengl \
@@ -51,7 +51,8 @@ build() {
--enable-gallium-llvm \
--with-gallium-drivers="i915,nouveau,r300,r600,swrast,svga" \
--with-dri-driverdir=$XORG_PREFIX/lib/dri \
- --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast"
+ --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast" \
+ --with-clang-libdir=/usr/lib
# --enable-d3d1x
# --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast"
# --with-gallium-drivers="i915,nouveau,r300,r600,radeonsi,svga"