From: hackbard Date: Wed, 17 Aug 2005 15:46:48 +0000 (+0000) Subject: fixed mesa build X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=061c7f4527a7cc18d1a005d4df61a47ae79757b3;p=hdw-linux%2Fhdw-linux.git fixed mesa build --- diff --git a/packages/multimedia/mesa3d/mesa3d b/packages/multimedia/mesa3d/mesa3d index ad12c68..132e31e 100644 --- a/packages/multimedia/mesa3d/mesa3d +++ b/packages/multimedia/mesa3d/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 }