aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTamas Nepusz2012-07-20 17:16:32 +0200
committerAdam Vandenberg2012-07-24 10:14:34 -0700
commita7e2b16e2b5465850e191a26ddbc40407418dd96 (patch)
tree769b54144a63cee5e5cf2d9b5627d10d08160bb9 /Library
parente00c1ac294949e1e2482a2cbd014ae593c1bd067 (diff)
downloadhomebrew-a7e2b16e2b5465850e191a26ddbc40407418dd96.tar.bz2
mcl 12-135
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mcl.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/mcl.rb b/Library/Formula/mcl.rb
index c069d0bae..5c56284cd 100644
--- a/Library/Formula/mcl.rb
+++ b/Library/Formula/mcl.rb
@@ -1,12 +1,17 @@
require 'formula'
class Mcl < Formula
- version '10-201'
- url 'http://micans.org/mcl/src/mcl-10-201.tar.gz'
homepage 'http://micans.org/mcl'
- md5 '9e8aecb9011560b9c3e55fe0f2d1e791'
+ url 'http://micans.org/mcl/src/mcl-12-135.tar.gz'
+ version '12-135'
+ sha1 '27e7bc08fe5f0d3361bbc98d343c9d045712e406'
def install
+ # Force the compiler to run in C89 mode because one of the source
+ # files uses "restrict" as a variable name and this is a restricted
+ # keyword in C99
+ ENV.append_to_cflags '-std=c89'
+
bin.mkpath
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",