From ceb7970bd789c5787076faceffefcb7870a5e71b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Dec 2012 13:39:56 -0600 Subject: 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'. --- Library/Formula/haskell-platform.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/haskell-platform.rb b/Library/Formula/haskell-platform.rb index e84952ac3..ecb68c133 100644 --- a/Library/Formula/haskell-platform.rb +++ b/Library/Formula/haskell-platform.rb @@ -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 -- cgit v1.2.3