mono: audit fixes

Closes Homebrew/homebrew#49950.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
Bob W. Hogg 2016-03-09 20:55:28 -08:00 committed by Xu Cheng
parent 57012395d4
commit 199b573ba3

View file

@ -18,15 +18,15 @@ class Mono < Formula
option "without-fsharp", "Build without support for the F# language."
resource "fsharp" do
url "https://github.com/fsharp/fsharp.git", :tag => "4.0.1.0",
:revision => "b22167013d1f4f0c41107fd40935dc1a8fe46386"
end
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "pkg-config" => :build
resource "fsharp" do
url "https://github.com/fsharp/fsharp.git", :tag => "4.0.1.0",
:revision => "b22167013d1f4f0c41107fd40935dc1a8fe46386"
end
link_overwrite "bin/fsharpi"
link_overwrite "bin/fsharpiAnyCpu"
link_overwrite "bin/fsharpc"
@ -66,6 +66,14 @@ class Mono < Formula
end
end
def caveats; <<-EOS.undent
To use the assemblies from other formulae you need to set:
export MONO_GAC_PREFIX="#{HOMEBREW_PREFIX}"
Note that the 'mono' formula now includes F#. If you have
the 'fsharp' formula installed, remove it with 'brew uninstall fsharp'.
EOS
end
test do
test_str = "Hello Homebrew"
test_name = "hello.cs"
@ -133,12 +141,4 @@ class Mono < Formula
system "#{bin}/xbuild", "test.fsproj"
end
end
def caveats; <<-EOS.undent
To use the assemblies from other formulae you need to set:
export MONO_GAC_PREFIX="#{HOMEBREW_PREFIX}"
Note that the 'mono' formula now includes F#. If you have
the 'fsharp' formula installed, remove it with 'brew uninstall fsharp'.
EOS
end
end