diff options
| author | Gaëtan Lehmann | 2014-03-28 01:37:20 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-28 08:45:44 +0000 |
| commit | 6f01a96c3dfe7717c387f2c49a4aa41197a7256b (patch) | |
| tree | 267152dbb3bef0413bfa3b141c243fb82193fa17 /Library/Formula | |
| parent | 37ef2119dd9e08356a8526b9f0e4f719acf7f64b (diff) | |
| download | homebrew-6f01a96c3dfe7717c387f2c49a4aa41197a7256b.tar.bz2 | |
mono: use the patch submitted upstream instead.
Closes #27925.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mono.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/mono.rb b/Library/Formula/mono.rb index a42a1d8b4..0d4f32b8c 100644 --- a/Library/Formula/mono.rb +++ b/Library/Formula/mono.rb @@ -16,6 +16,13 @@ class Mono < Formula sha1 "7f6715b8e569b6e7ad85c207311f145f688b3cf5" end + # help mono find its MonoPosixHelper lib when it is not in a system path + # see https://bugzilla.xamarin.com/show_bug.cgi?id=18555 + patch do + url "https://bugzilla.xamarin.com/attachment.cgi?id=6399" + sha1 "d011dc55f341feea0bdb8aa645688b815910b734" + end + def install # a working mono is required for the the build - monolite is enough # for the job @@ -33,12 +40,6 @@ class Mono < Formula # mono-gdb.py and mono-sgen-gdb.py are meant to be loaded by gdb, not to be # run directly, so we move them out of bin libexec.install bin/"mono-gdb.py", bin/"mono-sgen-gdb.py" - # help mono find its MonoPosixHelper lib even when mono formula is not linked - # https://bugzilla.xamarin.com/show_bug.cgi?id=18555 - mono_config = prefix/"etc/mono/config" - content = mono_config.read - content['"libMonoPosixHelper.dylib"'] = "\"#{lib}/libMonoPosixHelper.dylib\"" - mono_config.atomic_write content end test do |
