haskell-platform: don't pass environment vars to system

This isn't a bug per se, but it does cause the log filename to be 'ghc"'
rather than 'make'.
This commit is contained in:
Jack Nagel 2012-12-11 13:39:56 -06:00
parent 683805caf1
commit 8566caaee6

View file

@ -8,9 +8,10 @@ class HaskellPlatform < Formula
depends_on 'ghc'
def install
# libdir doesn't work if passed to configure, needs to be passed to make install
# libdir doesn't work if passed to configure, needs to be set in the environment
system "./configure", "--prefix=#{prefix}", "--enable-unsupported-ghc-version"
system %Q(EXTRA_CONFIGURE_OPTS="--libdir=#{lib}/ghc" make install)
ENV['EXTRA_CONFIGURE_OPTS'] = "--libdir=#{lib}/ghc"
system "make install"
end
def caveats; <<-EOS.undent