File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
class Yaws < Formula
2
2
desc "Webserver for dynamic content (written in Erlang)"
3
3
homepage "http://yaws.hyber.org"
4
- url "https://github.com/klacke/yaws/archive/yaws-2.0.7.tar.gz"
5
- sha256 "083b1b6be581fdfb66d77a151bbb2fc3897b1b0497352ff6c93c2256ef2b08f6"
6
- revision 1
7
- head "https://github.com/klacke/yaws.git"
4
+ revision 2
5
+ head "https://github.com/erlyaws/yaws.git"
6
+
7
+ stable do
8
+ url "https://github.com/erlyaws/yaws/archive/yaws-2.0.7.tar.gz"
9
+ sha256 "083b1b6be581fdfb66d77a151bbb2fc3897b1b0497352ff6c93c2256ef2b08f6"
10
+
11
+ # Erlang 23 compatibility
12
+ # Remove with the next release. Also remove `WARNINGS_AS_ERRORS=` flag from `make install` call
13
+ patch do
14
+ url "https://github.com/erlyaws/yaws/compare/c0fd79f17d52628fcec527da7fa3e788c283c445..28eecfd1c65c369de5b4b99cea9407205bbe8f8e.patch?full_index=1"
15
+ sha256 "0dbcb92e961ae9dc9d6613436f5d39e0c1b675635cfbeef888e1d2b487add413"
16
+ end
17
+ end
8
18
9
19
bottle do
10
20
cellar :any_skip_relocation
@@ -29,7 +39,7 @@ def install
29
39
# Ensure pam headers are found on Xcode-only installs
30
40
"--with-extrainclude=#{ MacOS . sdk_path } /usr/include/security" ,
31
41
"SED=/usr/bin/sed"
32
- system "make" , "install"
42
+ system "make" , "install" , "WARNINGS_AS_ERRORS="
33
43
34
44
cd "applications/yapp" do
35
45
system "make"
You can’t perform that action at this time.
0 commit comments