From 4f968b3383297ebcd9736ea5b40cc92ba70ac27b Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 4 Apr 2016 19:06:45 +0100 Subject: [PATCH] perl: fix url/mirror mismatch When I updated this formula previously I accidentally changed the tarball type back from .xz to .gz which Debian doesn't mimic, and consequently broke fetch when it falls back to the mirror and throws a checksum failure. Ref: https://github.com/Homebrew/homebrew-core/commit/4d840a319b4e16b15ce183fdc4314c122d87b9bb Closes #51. Signed-off-by: Dominyk Tiller --- Formula/perl.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/perl.rb b/Formula/perl.rb index 2bffa881648d5..e8ea6f8e6113c 100644 --- a/Formula/perl.rb +++ b/Formula/perl.rb @@ -1,9 +1,9 @@ class Perl < Formula desc "Highly capable, feature-rich programming language" homepage "https://www.perl.org/" - url "http://www.cpan.org/src/5.0/perl-5.22.1.tar.gz" + url "http://www.cpan.org/src/5.0/perl-5.22.1.tar.xz" mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/p/perl/perl_5.22.1.orig.tar.xz" - sha256 "2b475d0849d54c4250e9cba4241b7b7291cffb45dfd083b677ca7b5d38118f27" + sha256 "9e87317d693ce828095204be0d09af8d60b8785533fadea1a82b6f0e071e5c79" head "https://perl5.git.perl.org/perl.git", :branch => "blead" @@ -38,8 +38,8 @@ def install system "./Configure", *args system "make" - # OS X El Capitan's SIP feature prevents DYLD_LIBRARY_PATH from being passed to child - # processes, which causes the make test step to fail. + # OS X El Capitan's SIP feature prevents DYLD_LIBRARY_PATH from being + # passed to child processes, which causes the make test step to fail. # https://rt.perl.org/Ticket/Display.html?id=126706 # https://github.com/Homebrew/homebrew/issues/41716 if MacOS.version < :el_capitan