aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-09-13 16:49:35 -0400
committerMax Howell2012-09-13 16:49:53 -0400
commitfe295faffebd1449bca076ef54c8b61a7fb136ed (patch)
tree7e53979ba395d2bba2216a807fa101148cd5c5fd /Library/Homebrew
parentd1f1d736e8a2f61f6fd683d9696154e72b369b6b (diff)
downloadbrew-fe295faffebd1449bca076ef54c8b61a7fb136ed.tar.bz2
ghc requires std-env
Because it builds a tool (cabal) that uses the same env that built it to build stuff.
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-xLibrary/Homebrew/build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 7072bd267..77500189b 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -76,8 +76,8 @@ end
def pre_superenv_hacks f
# fontforge needs 10.7 SDK, wine 32 bit, graphviz has mysteriously missing symbols
- # and ruby/python etc. create gem/pip that then won't work
- stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby wine graphviz}
+ # and ruby/python/ghc etc. create gem/pip that then won't work
+ stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby wine graphviz ghc}
ARGV.unshift '--env=std' if (stdenvs.include?(f.name) or
f.recursive_deps.detect{|d| d.name == 'scons' }) and
not ARGV.include? '--env=super'