diff options
| author | Jack Nagel | 2014-05-13 10:48:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-13 11:28:44 -0500 |
| commit | 43d9640cb667267494ddad3e853233fe7148c5df (patch) | |
| tree | b544f1ae5b00ba532d8e26627f97fae29f2a0739 /Library/Homebrew/extend | |
| parent | ff25f7ecf74eda4aae10088fed6653d85cec2e00 (diff) | |
| download | brew-43d9640cb667267494ddad3e853233fe7148c5df.tar.bz2 | |
Move method to prepare for future changes
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 3f8968153..01ec3d084 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -158,6 +158,13 @@ module Superenv paths.to_path_s end + def determine_aclocal_path + paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/aclocal" } + paths << "#{HOMEBREW_PREFIX}/share/aclocal" + paths << "#{MacOS::X11.share}/aclocal" if x11? + paths.to_path_s + end + def determine_cmake_prefix_path paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}" } paths << HOMEBREW_PREFIX.to_s # put ourselves ahead of everything else @@ -195,13 +202,6 @@ module Superenv paths.to_path_s end - def determine_aclocal_path - paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/aclocal" } - paths << "#{HOMEBREW_PREFIX}/share/aclocal" - paths << "#{MacOS::X11.share}/aclocal" if x11? - paths.to_path_s - end - def determine_make_jobs if (j = self['HOMEBREW_MAKE_JOBS'].to_i) < 1 Hardware::CPU.cores |
