diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh index 43254fca..9aac905b 100755 --- a/scripts/macosx-build-dependencies.sh +++ b/scripts/macosx-build-dependencies.sh @@ -42,6 +42,25 @@ printUsage() echo " -d Build for deployment" } +patch_qt_disable_core_wlan() +{ + version="$1" + + patch -d "qt-everywhere-opensource-src-$version" -p1 < to make this work? kintel 20130117 build_qt() { @@ -71,7 +90,19 @@ build_qt() if $OPTION_32BIT; then QT_32BIT="-arch x86" fi - ./configure -prefix $DEPLOYDIR -release $QT_32BIT -arch x86_64 -opensource -confirm-license $PLATFORM -fast -no-qt3support -no-svg -no-phonon -no-audio-backend -no-multimedia -no-javascript-jit -no-script -no-scripttools -no-declarative -no-xmlpatterns -nomake demos -nomake examples -nomake docs -nomake translations -no-webkit + case "$OSX_VERSION" in + 9) + # libtiff fails in the linker step with Mavericks / XCode 5.0.1 + MACOSX_RELEASE_OPTIONS=-no-libtiff + # wlan support bails out with lots of compiler errors, disable it for the build + patch_qt_disable_core_wlan "$version" + ;; + *) + MACOSX_RELEASE_OPTIONS= + ;; + esac +exit 1 + ./configure -prefix $DEPLOYDIR -release $QT_32BIT -arch x86_64 -opensource -confirm-license $PLATFORM -fast -no-qt3support -no-svg -no-phonon -no-audio-backend -no-multimedia -no-javascript-jit -no-script -no-scripttools -no-declarative -no-xmlpatterns -nomake demos -nomake examples -nomake docs -nomake translations -no-webkit $MACOSX_RELEASE_OPTIONS make -j6 install }