Force Wine to use stdenv for now

Fixes Homebrew/homebrew#14535.
This commit is contained in:
Max Howell 2012-08-29 19:16:35 -04:00
parent b7bdd2f578
commit e1ff17ed75

View File

@ -56,7 +56,7 @@ def install f
# TODO replace with Formula DSL # TODO replace with Formula DSL
# Python etc. build but then pip can't build stuff. # Python etc. build but then pip can't build stuff.
# Scons resets ENV and then can't find superenv's build-tools. # Scons resets ENV and then can't find superenv's build-tools.
stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby} stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby wine}
ARGV.unshift '--env=std' if (stdenvs.include?(f.name) or ARGV.unshift '--env=std' if (stdenvs.include?(f.name) or
f.recursive_deps.detect{|d| d.name == 'scons' }) and f.recursive_deps.detect{|d| d.name == 'scons' }) and
not ARGV.include? '--env=super' not ARGV.include? '--env=super'