fixed mesa build
authorhackbard <hackbard>
Wed, 17 Aug 2005 15:46:48 +0000 (15:46 +0000)
committerhackbard <hackbard>
Wed, 17 Aug 2005 15:46:48 +0000 (15:46 +0000)
packages/multimedia/mesa3d/mesa3d

index ad12c68..132e31e 100644 (file)
@@ -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
                }