summaryrefslogtreecommitdiffstats
path: root/xorg/mesa3d/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-04-25 06:24:07 +0200
committertnut <tnut at nutyx dot com>2011-04-25 06:24:07 +0200
commitaa078f864cca42b768d9b3f8b194f8c730b3c451 (patch)
tree0cd305d55474eaf5cc14f248fc650f6a202f12c7 /xorg/mesa3d/Pkgfile
parente3e00d9a18866e0d8ecf7525762edab0e80d7f51 (diff)
downloadnutyx-pakxe-aa078f864cca42b768d9b3f8b194f8c730b3c451.tar.gz
nutyx-pakxe-aa078f864cca42b768d9b3f8b194f8c730b3c451.tar.bz2
nutyx-pakxe-aa078f864cca42b768d9b3f8b194f8c730b3c451.tar.xz
nutyx-pakxe-aa078f864cca42b768d9b3f8b194f8c730b3c451.zip
mesa3d,suprression doublon ds la 64 bits
Diffstat (limited to 'xorg/mesa3d/Pkgfile')
-rwxr-xr-xxorg/mesa3d/Pkgfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile
index c32e1a4ef..560d4c08e 100755
--- a/xorg/mesa3d/Pkgfile
+++ b/xorg/mesa3d/Pkgfile
@@ -7,7 +7,7 @@
name=mesa3d
version=7.10
-release=1
+release=2
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
build() {
@@ -40,5 +40,11 @@ build() {
cd src/mesa/drivers/dri
make -C swrast DESTDIR=$PKG install
- rm $PKG/usr/lib/libGL.*
+ case `uname -m` in
+ x86_64)
+ rm $PKG/usr/lib{,64}/libGL.*;;
+ i?86)
+ rm $PKG/usr/lib/libGL.*;;
+ esac
+
}