diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mlton.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/mlton.rb b/Library/Formula/mlton.rb index 82b0bbecf..fecafeb2c 100644 --- a/Library/Formula/mlton.rb +++ b/Library/Formula/mlton.rb @@ -15,6 +15,13 @@ class Mlton < Formula skip_clean :all def install + unless HOMEBREW_PREFIX.to_s == "/usr/local" + opoo "mlton won't work outside of /usr/local." + puts "Because this uses pre-compiled binaries, it will not work if" + puts "Homebrew is installed somewhere other than /usr/local; mlton" + puts "will be unable to find GMP." + end + Dir.chdir "local" do # Remove OS X droppings rm Dir["man/man1/._*"] |
