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:
parent
683805caf1
commit
8566caaee6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue