perl 5.26.0

master
Alhadis 2017-06-22 23:21:09 +10:00 committed by ilovezfs
parent 66a6498614
commit 98a6e0a5e7
2 changed files with 2 additions and 15 deletions

View File

@ -1,23 +1,10 @@
class Perl < Formula
desc "Highly capable, feature-rich programming language"
homepage "https://www.perl.org/"
url "https://www.cpan.org/src/5.0/perl-5.26.0.tar.xz"
sha256 "9bf2e3d0d72aad77865c3bdbc20d3b576d769c5c255c4ceb30fdb9335266bf55"
head "https://perl5.git.perl.org/perl.git", :branch => "blead"
stable do
url "https://www.cpan.org/src/5.0/perl-5.24.1.tar.xz"
sha256 "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f"
# Fixes Time::HiRes module bug related to the presence of clock_gettime
# https://rt.perl.org/Public/Bug/Display.html?id=128427
# Merged upstream, should be in the next release.
if DevelopmentTools.clang_build_version >= 800
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/b18137128c4e0cb7e92e9ee007a9f78bc9d03b21/perl/clock_gettime.patch"
sha256 "612825c24ed19d6fa255bb42af59dff46ee65c16ea77abf4a59b754aa8ab05ac"
end
end
end
bottle do
sha256 "af578c645e5ff6162b29c693c6145345fef4dfc848f9d999a6e1f36330318c63" => :sierra
sha256 "c66b2d1daf5e4d77b8f4943b9718610c6d24d20537e6a1b6a87ccf74fd54ec02" => :el_capitan