qt5: raise minimum OS X requirement to 10.8

Qt 5.5.1 has been reported to fail to build on OS X 10.7 with the latest
available Xcode for that OS X release. There is no easy workaround.

Closes Homebrew/homebrew#45940.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Martin Afanasjew 2015-11-16 17:32:51 +01:00 committed by Mike McQuaid
parent 4262fea34a
commit 25154bf004

View file

@ -72,9 +72,11 @@ class Qt5 < Formula
deprecated_option "qtdbus" => "with-d-bus"
# Snow Leopard is untested and support has been removed in 5.4
# https://qt.gitorious.org/qt/qtbase/commit/5be81925d7be19dd0f1022c3cfaa9c88624b1f08
depends_on :macos => :lion
# OS X 10.7 Lion is still supported in Qt 5.5, but is no longer a reference
# configuration and thus untested in practice. Builds on OS X 10.7 have been
# reported to fail: <https://github.com/Homebrew/homebrew/issues/45284>.
depends_on :macos => :mountain_lion
depends_on "d-bus" => :optional
depends_on :mysql => :optional
depends_on :xcode => :build