diff options
Diffstat (limited to 'xorg/mesa3d/Pkgfile')
-rwxr-xr-x | xorg/mesa3d/Pkgfile | 10 |
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 + } |