Skip to content

Commit

Permalink
perl: fix url/mirror mismatch
Browse files Browse the repository at this point in the history
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: 4d840a3

Closes #51.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
DomT4 committed Apr 4, 2016
1 parent e010e91 commit 4f968b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f968b3

Please sign in to comment.