diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/haskell-platform.rb | 5 |
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 |
