diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb index 8c1a1231e7..7ecee7ea19 100644 --- a/Library/Formula/ghc.rb +++ b/Library/Formula/ghc.rb @@ -1,27 +1,15 @@ require 'formula' -class PkgCurlDownloadStrategy 'ghc' + + # Fix ghc-asm Perl reference + inreplace "#{lib}/ghc/ghc-asm", "#!/opt/local/bin/perl", "#!/usr/bin/env perl" # Regenerate GHC package cache rm "#{lib}/ghc/package.conf.d/package.cache"