aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/net-snmp.rb18
-rw-r--r--Library/Formula/phantomjs.rb7
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?