aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/riak.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-10-24 12:35:52 -0700
committerAdam Vandenberg2011-11-12 09:55:39 -0800
commit5347f6aaea578cbd0c40a9e5c8b49974abe85f90 (patch)
tree16e97204956fc03ccff3aace61c76760b849328b /Library/Formula/riak.rb
parenta634fd47e990e851c7651bdb97f4656dbb2200b7 (diff)
downloadhomebrew-5347f6aaea578cbd0c40a9e5c8b49974abe85f90.tar.bz2
Riak: allow building with Erlang R14B04
Diffstat (limited to 'Library/Formula/riak.rb')
-rw-r--r--Library/Formula/riak.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb
index 0cfc26832..311475a11 100644
--- a/Library/Formula/riak.rb
+++ b/Library/Formula/riak.rb
@@ -15,6 +15,11 @@ class Riak < Formula
depends_on 'erlang'
+ # Enable use of Erlang R14B04
+ # This was fixed upstream, so when updating the version of Riak
+ # check if this fix is already in place.
+ def patches; DATA; end
+
def install
ENV.deparallelize
system "make all rel"
@@ -35,3 +40,17 @@ class Riak < Formula
man1.install Dir["doc/man/man1/*"]
end
end
+
+__END__
+diff --git a/rebar.config b/rebar.config
+index ee81bfc..31d2fae 100644
+--- a/rebar.config
++++ b/rebar.config
+@@ -1,6 +1,6 @@
+ {sub_dirs, ["rel"]}.
+
+-{require_otp_vsn, "R14B0[23]"}.
++{require_otp_vsn, "R14B0[234]"}.
+
+ {cover_enabled, true}.
+