diff options
| author | Jonathon Klobucar | 2013-09-20 22:29:30 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-22 19:22:43 -0700 |
| commit | 6ebb2cbcb781d787083c8fe76a7b2a0468b8a532 (patch) | |
| tree | ab3b0ddd706d3e79b52513bd35165480ee93f64e /Library/Formula | |
| parent | b34f67a4b22b19f333fb777692d0132d7ef88cbb (diff) | |
| download | homebrew-6ebb2cbcb781d787083c8fe76a7b2a0468b8a532.tar.bz2 | |
go --devel 1.2RC1
Closes #22720.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/go.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 69d2ed206..dac21b1fd 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -11,6 +11,12 @@ class Go < Formula option 'cross-compile-common', "Build the cross-compilers and runtime support for darwin, linux and windows" option 'without-cgo', "Build with cgo" + devel do + url 'https://go.googlecode.com/files/go1.2rc1.src.tar.gz' + version '1.2rc1' + sha1 '9f39106e06f552e9bf6d15d201c4663c051d4f89' + end + # the cgo module cannot build with clang # NOTE it is ridiculous that we put this stuff in the class # definition, it needs to be in a pre-install test function! @@ -23,7 +29,7 @@ class Go < Formula # Upstream patch for a switch statement that causes a clang error # Should be in the next release. # http://code.google.com/p/go/source/detail?r=000ecca1178d67c9b482d3fb0b6a1bc4aeef2472&path=/src/cmd/ld/lib.c - def patches; DATA; end + def patches; DATA; end unless build.devel? def install # install the completion scripts |
