- GCCFLAGS="${GCCFLAGS} \
- --with-gmp=${DARWIN_OPT_PATH} \
- --with-mpfr=${DARWIN_OPT_PATH} \
- --with-mpc=${DARWIN_OPT_PATH} \
- -with-libiconv-prefix=${DARWIN_OPT_PATH}"
+
+ # darwin dependencies
+ DARWINDEPS="wget"
+
+ echo "Installing dependencies ..."
+ if ! which brew > /dev/null; then
+ echo "Homebrew not installed."
+ else
+ brew install ${DARWINDEPS} | (grep -v '^Warning: Formula already installed: ' || true)
+ fi
+
+ TAR=gnutar
+