xaric: fix openssl link on 10.11

Closes Homebrew/homebrew#44810.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Thierry Moisan 2015-10-09 23:32:54 -04:00 committed by Dominyk Tiller
parent f9f220c2b7
commit a6069987c2

View file

@ -14,13 +14,14 @@ class Xaric < Formula
depends_on "openssl"
def install
# Re OpenSSL: https://github.com/laeos/xaric/issues/2
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
"--prefix=#{prefix}",
"withval=#{Formula["openssl"].opt_prefix}"
system "make", "install"
end
test do
assert_match(/Xaric #{version}/,
shell_output("script -q /dev/null xaric -v"))
assert_match(/Xaric #{version}/, shell_output("script -q /dev/null xaric -v"))
end
end