diff --git a/Formula/xaric.rb b/Formula/xaric.rb index fc7a987e7a..cf0dc4394b 100644 --- a/Formula/xaric.rb +++ b/Formula/xaric.rb @@ -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