From 199b573ba3bff76105d43ec345f688ba7dc7fdba Mon Sep 17 00:00:00 2001 From: "Bob W. Hogg" Date: Wed, 9 Mar 2016 20:55:28 -0800 Subject: [PATCH] mono: audit fixes Closes Homebrew/homebrew#49950. Signed-off-by: Andrew Janke --- Formula/mono.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Formula/mono.rb b/Formula/mono.rb index ecfdf6b2c5..45ed393ac5 100644 --- a/Formula/mono.rb +++ b/Formula/mono.rb @@ -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