summaryrefslogtreecommitdiffstats
path: root/xorg/mesa3d/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-12 23:34:58 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-12 23:34:58 +0100
commit595c0a0620c38b6ada62e2b253fde4ef0e53fb8b (patch)
tree398a9b42f856b19688684bb1eba604df672bcb2a /xorg/mesa3d/Pkgfile
parent5ab61a22493381c59faaf6de936f5eacf777505c (diff)
downloadnutyx-pakxe-595c0a0620c38b6ada62e2b253fde4ef0e53fb8b.tar.gz
nutyx-pakxe-595c0a0620c38b6ada62e2b253fde4ef0e53fb8b.tar.bz2
nutyx-pakxe-595c0a0620c38b6ada62e2b253fde4ef0e53fb8b.tar.xz
nutyx-pakxe-595c0a0620c38b6ada62e2b253fde4ef0e53fb8b.zip
mesa3d, correction port
Diffstat (limited to 'xorg/mesa3d/Pkgfile')
-rwxr-xr-xxorg/mesa3d/Pkgfile19
1 files changed, 4 insertions, 15 deletions
diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile
index 7799f38db..c32e1a4ef 100755
--- a/xorg/mesa3d/Pkgfile
+++ b/xorg/mesa3d/Pkgfile
@@ -20,9 +20,8 @@ build() {
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
+ ./configure $XORG_CONFIG \
+ --enable-xcb
make
# mesa
@@ -30,26 +29,16 @@ build() {
# libgl
cd $SRC/Mesa-*
- install -m755 -d $PKG/usr/lib
- install -m755 -d $PKG/usr/lib/xorg/modules/extensions
bin/minstall lib/lib* $PKG/usr/lib/
case `uname -m` in
x86_64)
- install -m755 -d $PKG/usr/lib64
- install -m755 -d $PKG/usr/lib64/xorg/modules/extensions
+ install -m755 -d $PKG/$XORG_PREFIX/lib64
+ install -m755 -d $PKG/$XORG_PREFIX/lib64/X11/modules/extensions
bin/minstall lib/lib* $PKG/usr/lib64/
esac
cd src/mesa/drivers/dri
make -C swrast DESTDIR=$PKG install
-
-
-# for i in glew.h glxew.h wglew.h
-# do
-# rm $PKG/usr/include/GL/$i
-# done
rm $PKG/usr/lib/libGL.*
-# install -d $PKG/usr/bin
-# install -m 755 progs/xdemos/glx{gears,info} $PKG/usr/bin
}