diff options
| author | Dominyk Tiller | 2014-10-05 22:17:25 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-06 20:09:26 +0100 |
| commit | ba42dab9999cf5b0c3808280dceaa7d7215faeef (patch) | |
| tree | 44e2b62602b33bc1e9014d9b555154933f039fe4 /Library/Formula | |
| parent | 9cb153358afc0ce5df944020180546ae63832a18 (diff) | |
| download | homebrew-ba42dab9999cf5b0c3808280dceaa7d7215faeef.tar.bz2 | |
phantomjs: Yosemite fixes.
Closes #32953.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/net-snmp.rb | 18 | ||||
| -rw-r--r-- | Library/Formula/phantomjs.rb | 7 |
2 files changed, 6 insertions, 19 deletions
diff --git a/Library/Formula/net-snmp.rb b/Library/Formula/net-snmp.rb index 4319ba13a..0ac920c31 100644 --- a/Library/Formula/net-snmp.rb +++ b/Library/Formula/net-snmp.rb @@ -1,23 +1,5 @@ require "formula" -class MaximumMacOSRequirement < Requirement - fatal true - - def initialize(tags) - @version = MacOS::Version.from_symbol(tags.first) - super - end - - satisfy { MacOS.version <= @version } - - def message - <<-EOS.undent - OS X #{@version.pretty_name} or older is required for stable. - Use `brew install --devel` on newer versions. - EOS - end -end - class NetSnmp < Formula homepage "http://www.net-snmp.org/" diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb index af745bff6..c556b9fca 100644 --- a/Library/Formula/phantomjs.rb +++ b/Library/Formula/phantomjs.rb @@ -12,6 +12,11 @@ class Phantomjs < Formula url "https://github.com/ariya/phantomjs/commit/fe6a96.diff" sha1 "d3efd38e0f3f0da08530d0bf603ea72ebdf06b78" end + + # Upstream have said won't fix 1.9.x for Yosemite + # https://github.com/ariya/phantomjs/issues/10648 + # Please remove this dependency with the next stable 2.0 release. + depends_on MaximumMacOSRequirement => :mavericks end bottle do @@ -23,7 +28,7 @@ class Phantomjs < Formula head "https://github.com/ariya/phantomjs.git" - depends_on 'openssl' + depends_on "openssl" def install if build.stable? && MacOS.prefer_64_bit? |
