fixed mesa build
[hdw-linux/hdw-linux.git] / packages / multimedia / mesa3d / mesa3d
index 4a15544..132e31e 100644 (file)
@@ -2,9 +2,9 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 6.0.1
+# [V] 6.3
 # [S] 3-6
-# [D] MesaLib-6.0.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
+# [D] MesaLib-6.3.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
 
 srcdir=Mesa-$ver
 # install in /opt/mesa3d
@@ -13,12 +13,18 @@ prefix="$root/opt/$package"
 mt=""
 [ "$hdw_arch" = "ia32" ] && mt="linux-x86"
 
+pre_install()  {
+       for file in `find ./ -name depend`; do
+               rm $file
+       done
+               }
+
 build_main()   {
        if [ -n "$mt" ] ; then
                echo "building mesa3d for $mt ..."
                make $mt
        else
-               echo "target $hdw_rach not supported by now"
+               echo "target $hdw_arch not supported by now"
                exit 1
        fi
                }