From 84a00aa7972cbccd0722ee686a97e3d55fad5fd6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 19 Aug 2013 12:32:56 -0500 Subject: Make Superenv activation explicit --- Library/Homebrew/build.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/build.rb') diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 7d88a74cf..bb4325e5b 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -34,6 +34,7 @@ def main require 'hardware' require 'keg' + require 'superenv' # Force any future invocations of sudo to require the user's password to be # re-entered. This is in-case any build script call sudo. Certainly this is @@ -106,7 +107,8 @@ class Build keg_only_deps = deps.map(&:to_formula).select(&:keg_only?) pre_superenv_hacks - require 'superenv' + + ENV.activate_extensions! deps.map(&:to_formula).each do |dep| opt = HOMEBREW_PREFIX/:opt/dep -- cgit v1.2.3