go r58.1
Fixes compilation on Lion. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
bed1d63941
commit
41272de10e
1 changed files with 3 additions and 9 deletions
|
@ -3,13 +3,13 @@ require 'hardware'
|
|||
|
||||
class Go < Formula
|
||||
if ARGV.include? "--use-git"
|
||||
url 'https://github.com/tav/go.git', :tag => 'release.r57.2'
|
||||
url 'https://github.com/tav/go.git', :tag => 'release.r58.1'
|
||||
head 'https://github.com/tav/go.git'
|
||||
else
|
||||
url 'http://go.googlecode.com/hg/', :revision => 'release.r57.2'
|
||||
url 'http://go.googlecode.com/hg/', :revision => 'release.r58.1'
|
||||
head 'http://go.googlecode.com/hg/'
|
||||
end
|
||||
version 'r57.2'
|
||||
version 'r58.1'
|
||||
homepage 'http://golang.org'
|
||||
|
||||
skip_clean 'bin'
|
||||
|
@ -18,12 +18,6 @@ class Go < Formula
|
|||
[["--use-git", "Use git mirror instead of official hg repository"]]
|
||||
end
|
||||
|
||||
def patches
|
||||
# Fix an egrep error; already present upstream.
|
||||
# Remove when r58 is tagged.
|
||||
DATA unless ARGV.build_head?
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.j1 # Building in parallel fails
|
||||
prefix.install %w[src include test doc misc lib favicon.ico AUTHORS]
|
||||
|
|
Loading…
Reference in a new issue