ssh-permit-a38: update openssl env var and comment

This commit is contained in:
commitay 2018-09-03 14:55:39 +10:00
parent 62a197ed71
commit 87181a96cb

View file

@ -16,9 +16,10 @@ class SshPermitA38 < Formula
depends_on "openssl"
def install
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
ENV["DEP_OPENSSL_INCLUDE"] = Formula["openssl"].opt_include
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
# Ensure that the `openssl` crate picks up the intended library.
# https://crates.io/crates/openssl#manual-configuration
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
system "cargo", "install", "--root", prefix, "--path", "."
end