aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMax Howell2012-02-27 04:06:13 +0000
committerMax Howell2012-02-27 04:06:39 +0000
commitf3d177a99b5ef68ed6b43d32efcd750d0490172c (patch)
tree02930e868e68a4cfbcca7f02b7d3e3b7d1234f89 /Library/Homebrew/extend
parent2049ce9f5c1b47254697681056874a17149d29c3 (diff)
downloadbrew-f3d177a99b5ef68ed6b43d32efcd750d0490172c.tar.bz2
Set ACLOCAL_PATH so that things work
This should mean all those formula that pass options to aclocal don't need to anymore, but I'm not risking changing them.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 5b002221b..6d11053fd 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -9,6 +9,9 @@ module HomebrewEnvExtension
delete('CLICOLOR_FORCE') # autotools doesn't like this
remove_cc_etc
+ # make any aclocal stuff installed in Homebrew available
+ ENV['ACLOCAL_PATH'] = "#{HOMEBREW_PREFIX}/share/aclocal" if MacOS.xcode_version < "4.3"
+
self['MAKEFLAGS'] = "-j#{self.make_jobs}"
unless HOMEBREW_PREFIX.to_s == '/usr/local'