]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
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 ad12c68b7027f24109acfdc01b54b6c01afc49fc..132e31ebf280f5e31b85a8f65f06dabf32229d5c 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
                }