aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-12-11 13:39:56 -0600
committerJack Nagel2012-12-11 13:59:16 -0600
commitceb7970bd789c5787076faceffefcb7870a5e71b (patch)
tree5eb726a3a9da60d44c41416d5b0cc2a66256dc68 /Library/Formula
parent72c307ac24a65ba9b07db4e7679d9433bb86963e (diff)
downloadhomebrew-ceb7970bd789c5787076faceffefcb7870a5e71b.tar.bz2
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'.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/haskell-platform.rb5
1 files changed, 3 insertions, 2 deletions
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