openssl: ignore PERL env variable (#1549)

Should help prevent edge cases as seen in https://github.com/Homebrew/homebrew-core/issues/1545.
This commit is contained in:
Dominyk Tiller 2016-05-30 13:46:31 +01:00
parent 54663ccc5b
commit 5e9e922396

View file

@ -41,6 +41,10 @@ class Openssl < Formula
end
def install
# OpenSSL will prefer the PERL environment variable if set over $PATH
# which can cause some odd edge cases & isn't intended. Unset for safety.
ENV.delete("PERL")
# Load zlib from an explicit path instead of relying on dyld's fallback
# path, which is empty in a SIP context. This patch will be unnecessary
# when we begin building openssl with no-comp to disable TLS compression.