From a5c895a7c90cbd86a1157b1a0a437a1f979b6176 Mon Sep 17 00:00:00 2001 From: commitay Date: Fri, 12 Jan 2018 12:57:52 +1000 Subject: [PATCH] openssl@1.1: depend on perl instead of :perl Closes #22767. Signed-off-by: ilovezfs --- Formula/openssl@1.1.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Formula/openssl@1.1.rb b/Formula/openssl@1.1.rb index 26165b0eba..b08aeefbfc 100644 --- a/Formula/openssl@1.1.rb +++ b/Formula/openssl@1.1.rb @@ -5,6 +5,7 @@ class OpensslAT11 < Formula mirror "https://dl.bintray.com/homebrew/mirror/openssl@1.1-1.1.0g.tar.gz" mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.1.0g.tar.gz" sha256 "de4d501267da39310905cb6dc8c6121f7a2cad45a7707f76df828fe1b85073af" + revision 1 version_scheme 1 bottle do @@ -20,11 +21,7 @@ class OpensslAT11 < Formula # Only needs 5.10 to run, but needs >5.13.4 to run the testsuite. # https://github.com/openssl/openssl/blob/4b16fa791d3ad8/README.PERL # The MacOS ML tag is same hack as the way we handle most :python deps. - if build.with? "test" - depends_on :perl => "5.14" if MacOS.version <= :mountain_lion - else - depends_on :perl => "5.10" - end + depends_on "perl" if build.with?("test") && MacOS.version <= :mountain_lion # SSLv2 died with 1.1.0, so no-ssl2 no longer required. # SSLv3 & zlib are off by default with 1.1.0 but this may not