aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-05 23:59:31 -0500
committerJack Nagel2014-09-06 00:00:54 -0500
commitca447d437b231676f8752cb5e66fda98ce241b27 (patch)
tree2ef475a0cd32174631062e1a8700c22d173271d9 /Library
parentc9b0bb30abbfb2466691b054c1b721b73bb7fa22 (diff)
downloadhomebrew-ca447d437b231676f8752cb5e66fda98ce241b27.tar.bz2
phantomjs: add openssl dep
Taps OpenSSL at runtime, but taps the system version instead of ours. This fixes that and forces a recompile. Closes #32076. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/phantomjs.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb
index c94c58a9e..05ed049da 100644
--- a/Library/Formula/phantomjs.rb
+++ b/Library/Formula/phantomjs.rb
@@ -2,10 +2,11 @@ require "formula"
class Phantomjs < Formula
homepage "http://www.phantomjs.org/"
+ revision 1
stable do
url "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-source.zip"
- sha1 "124b017d493d5ccabd22afaf078d0650ac048840"
+ sha256 "0f6c50ff24c1c4a8ccd7fedef62feef5e45195c7ba5ef6c84434448544877ff3"
patch do
url "https://github.com/ariya/phantomjs/commit/fe6a96.diff"
@@ -23,11 +24,14 @@ class Phantomjs < Formula
head "https://github.com/ariya/phantomjs.git"
+ depends_on 'openssl'
+
def install
if build.stable? && MacOS.prefer_64_bit?
inreplace "src/qt/preconfig.sh", "-arch x86", "-arch x86_64"
end
- system "./build.sh", "--confirm", "--jobs", ENV.make_jobs
+ system "./build.sh", "--confirm", "--jobs", ENV.make_jobs,
+ "--qt-config", "-openssl-linked"
bin.install "bin/phantomjs"
(share+"phantomjs").install "examples"
end