echo "Found Darwin OS."
# darwin dependencies
- DARWINDEPS="gnu-tar wget mpfr libmpc gmp"
+ DARWINDEPS="wget mpfr libmpc gmp"
DARWINDEPSCOUNT=4
- echo "Installing dependencies"
+ echo "Installing dependencies ..."
if ! which brew > /dev/null; then
- echo "homebrew not installed."
+ echo "Homebrew not installed."
else
- brew install ${DARWINDEPS} | grep -v '^Warning: Formula already installed: '
+ brew install ${DARWINDEPS} | (grep -v '^Warning: Formula already installed: ' || true)
fi
GCCFLAGS="${GCCFLAGS} \
function fetch {
if [ ! -e ${STAMPS}/$1.fetch ]; then
log "Downloading $1 sources..."
- wget -c --no-passive-ftp $2
+ wget -c $2
touch ${STAMPS}/$1.fetch
fi
}