aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ghc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb
index d11c7ba0a..34602b37d 100644
--- a/Library/Formula/ghc.rb
+++ b/Library/Formula/ghc.rb
@@ -38,6 +38,7 @@ class Ghc <Formula
# Fix paths
replace_all "/Library/Frameworks/GHC.framework/Versions/#{short_version}/usr/lib/ghc-#{version}", "#{lib}/ghc"
replace_all "/Library/Frameworks/GHC.framework/Versions/#{short_version}/usr", prefix
+ inreplace "lib/ghc-#{version}/ghc-asm", "#!/opt/local/bin/perl", "#!/usr/bin/env perl"
mv "lib/ghc-#{version}", 'lib/ghc'
prefix.install ['bin', 'lib', 'share']