diff options
author | sibel <lesibel@free.fr> | 2010-12-28 16:05:08 +0000 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-28 16:05:08 +0000 |
commit | add871cd18926a98a6828e4a10ba8a7ba04f9476 (patch) | |
tree | 174dc02d86ba8d56a60d440c260a1a0f81d2161e /xorg/mesa3d/Pkgfile | |
parent | 664d112a5ec91ba07d0e58e000ff7c66f36589af (diff) | |
download | nutyx-pakxe-add871cd18926a98a6828e4a10ba8a7ba04f9476.tar.gz nutyx-pakxe-add871cd18926a98a6828e4a10ba8a7ba04f9476.tar.bz2 nutyx-pakxe-add871cd18926a98a6828e4a10ba8a7ba04f9476.tar.xz nutyx-pakxe-add871cd18926a98a6828e4a10ba8a7ba04f9476.zip |
mesa3d#7.9-2, maj port
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 6da1cadb5..9f142503b 100755 --- a/xorg/mesa3d/Pkgfile +++ b/xorg/mesa3d/Pkgfile @@ -6,16 +6,22 @@ name=mesa3d version=7.9 -release=1 +release=2 source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) build() { cd Mesa-$version + 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|" $SRC/Mesa-$version/configs/{default,autoconf.in} + + sed -i -e "s|python|python2|" $SRC/Mesa-$version/src/gallium/auxiliary/Makefile + ./configure --prefix=/usr \ --with-driver=dri \ --with-dri-driverdir=/usr/lib/dri - make make DESTDIR=$PKG install |