parent
dcfd7b8403
commit
364258a8d0
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class Ghc <Formula
|
||||||
# Fix paths
|
# 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/lib/ghc-#{version}", "#{lib}/ghc"
|
||||||
replace_all "/Library/Frameworks/GHC.framework/Versions/#{short_version}/usr", prefix
|
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'
|
mv "lib/ghc-#{version}", 'lib/ghc'
|
||||||
|
|
||||||
prefix.install ['bin', 'lib', 'share']
|
prefix.install ['bin', 'lib', 'share']
|
||||||
|
|
Loading…
Reference in a new issue