aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/phantomjs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/phantomjs.rb')
-rw-r--r--Library/Formula/phantomjs.rb7
1 files changed, 6 insertions, 1 deletions
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?