Tweaks for Qt 4.8 and correct mpfr download link

felipesanches-svg
Marius Kintel 2012-07-09 17:31:29 -04:00
parent d8ca1de649
commit 38a4585d1a
1 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
# -6 Build only 64-bit binaries
#
# Prerequisites:
# - MacPorts: curl
# - MacPorts: curl, cmake
# - Qt4
#
# FIXME:
@ -24,6 +24,7 @@ SRCDIR=$BASEDIR/src
DEPLOYDIR=$BASEDIR/install
MAC_OSX_VERSION_MIN=10.5
OPTION_32BIT=true
export QMAKESPEC=macx-g++
printUsage()
{
@ -129,11 +130,11 @@ build_mpfr()
cd $BASEDIR/src
rm -rf mpfr-$version
if [ ! -f mpfr-$version.tar.bz2 ]; then
curl -O http://www.mpfr.org/mpfr-current/mpfr-$version.tar.bz2
curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
fi
tar xjf mpfr-$version.tar.bz2
cd mpfr-$version
curl -O http://www.mpfr.org/mpfr-current/allpatches
curl -O http://www.mpfr.org/mpfr-$version/allpatches
patch -N -Z -p1 < allpatches
if $OPTION_32BIT; then
mkdir build-i386