yaws 1.97
Closes Homebrew/homebrew#23357. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
df330f7cbd
commit
8253c3f9e7
1 changed files with 2 additions and 13 deletions
|
@ -2,8 +2,8 @@ require 'formula'
|
|||
|
||||
class Yaws < Formula
|
||||
homepage 'http://yaws.hyber.org'
|
||||
url 'https://github.com/klacke/yaws/archive/yaws-1.96.tar.gz'
|
||||
sha1 'c12fc517832299e95c3e02359edfc2271af9cc68'
|
||||
url 'https://github.com/klacke/yaws/archive/yaws-1.97.tar.gz'
|
||||
sha1 'b280e8e181ec3ded73c6ba7fa0ec9ebf7af32b1a'
|
||||
head 'https://github.com/klacke/yaws.git'
|
||||
|
||||
option "without-yapp", "Omit yaws applications"
|
||||
|
@ -17,17 +17,6 @@ class Yaws < Formula
|
|||
skip_clean 'lib/yaws/examples/ebin'
|
||||
skip_clean 'lib/yaws/examples/include'
|
||||
|
||||
# Patch is only pertinent for 1.96 tagged release and Erlang R16B01+
|
||||
# In newer versions of Erlang crypto:sha/1 is deprecated which fails
|
||||
# the compilation since it is treating warnings as errors.
|
||||
# This patch adds logic to use crypto:hash/2 for newer versions of
|
||||
# Erlang (R16B01+). --HEAD installs already have this fix in place thus
|
||||
# why it isn't included for --HEAD installs
|
||||
def patches
|
||||
unless build.head?
|
||||
{ :p1 => [ 'https://github.com/klacke/yaws/compare/yaws-1.96...98db40b3d301254a86820a837848660cb9e1b2f0.diff' ] }
|
||||
end
|
||||
end
|
||||
def install
|
||||
if build.build_32_bit?
|
||||
%w{ CFLAGS LDFLAGS }.each do |compiler_flag|
|
||||
|
|
Loading…
Reference in a new issue