diff options
| author | Jack Nagel | 2013-10-04 21:06:19 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-10-04 21:06:19 -0500 |
| commit | 43f0c631357a01f01cea20ebad6d136388689fec (patch) | |
| tree | 0a2d9a6ad722d64903b2022e2c686c27c25e22f7 /Library | |
| parent | 2bbe2dba160996108fb761eccd481f7580aa0492 (diff) | |
| download | brew-43f0c631357a01f01cea20ebad6d136388689fec.tar.bz2 | |
superenv: fix hardcoded X11 aclocal path
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 5a7b4bd89..e4d0af7e1 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -200,7 +200,7 @@ module Superenv def determine_aclocal_path paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/aclocal" } paths << "#{HOMEBREW_PREFIX}/share/aclocal" - paths << "/opt/X11/share/aclocal" if x11? + paths << "#{MacOS::X11.share}/aclocal" if x11? paths.to_path_s end |
