From a88d29f844bb36b65a38da6704935eac99b5b3dd Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 30 Dec 2010 13:43:31 +0100 Subject: mesa3d#7.9-5, correction port --- xorg/mesa3d/.footprint | 20 ++++++++++++++++++++ xorg/mesa3d/Pkgfile | 24 ++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) (limited to 'xorg/mesa3d') diff --git a/xorg/mesa3d/.footprint b/xorg/mesa3d/.footprint index 874aad8b4..6056f6e59 100644 --- a/xorg/mesa3d/.footprint +++ b/xorg/mesa3d/.footprint @@ -65,3 +65,23 @@ drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/gl.pc -rw-r--r-- root/root usr/lib/pkgconfig/glu.pc -rw-r--r-- root/root usr/lib/pkgconfig/glw.pc +drwxr-xr-x root/root usr/lib/xorg/ +drwxr-xr-x root/root usr/lib/xorg/modules/ +drwxr-xr-x root/root usr/lib/xorg/modules/extensions/ +lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.xorg +drwxr-xr-x root/root usr/lib64/ +lrwxrwxrwx root/root usr/lib64/libEGL.so -> libEGL.so.1 +lrwxrwxrwx root/root usr/lib64/libEGL.so.1 -> libEGL.so.1.0 +-rwxr-xr-x root/root usr/lib64/libEGL.so.1.0 +lrwxrwxrwx root/root usr/lib64/libGL.so -> libGL.so.1 +lrwxrwxrwx root/root usr/lib64/libGL.so.1 -> libGL.so.1.2 +-rwxr-xr-x root/root usr/lib64/libGL.so.1.2 +lrwxrwxrwx root/root usr/lib64/libGLU.so -> libGLU.so.1 +lrwxrwxrwx root/root usr/lib64/libGLU.so.1 -> libGLU.so.1.3.070900 +-rwxr-xr-x root/root usr/lib64/libGLU.so.1.3.070900 +lrwxrwxrwx root/root usr/lib64/libGLw.so -> libGLw.so.1 +lrwxrwxrwx root/root usr/lib64/libGLw.so.1 -> libGLw.so.1.0.0 +-rwxr-xr-x root/root usr/lib64/libGLw.so.1.0.0 +drwxr-xr-x root/root usr/lib64/xorg/ +drwxr-xr-x root/root usr/lib64/xorg/modules/ +drwxr-xr-x root/root usr/lib64/xorg/modules/extensions/ diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile index 9f142503b..77aea3b12 100755 --- a/xorg/mesa3d/Pkgfile +++ b/xorg/mesa3d/Pkgfile @@ -6,7 +6,7 @@ name=mesa3d version=7.9 -release=2 +release=5 source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) build() { @@ -22,9 +22,29 @@ build() { ./configure --prefix=/usr \ --with-driver=dri \ --with-dri-driverdir=/usr/lib/dri - make + make + # mesa make DESTDIR=$PKG install + + # 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 + bin/minstall lib/lib* $PKG/usr/lib64/ + esac + + cd src/mesa/drivers/dri + make -C swrast DESTDIR=$PKG install + ln -s libglx.xorg $PKG/usr/lib/xorg/modules/extensions/libglx.so + + # for i in glew.h glxew.h wglew.h # do # rm $PKG/usr/include/GL/$i -- cgit v1.2.3-70-g09d2