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