From 6ebb2cbcb781d787083c8fe76a7b2a0468b8a532 Mon Sep 17 00:00:00 2001 From: Jonathon Klobucar Date: Fri, 20 Sep 2013 22:29:30 -0700 Subject: go --devel 1.2RC1 Closes #22720. Signed-off-by: Adam Vandenberg --- Library/Formula/go.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3