From 43f0c631357a01f01cea20ebad6d136388689fec Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 4 Oct 2013 21:06:19 -0500 Subject: [PATCH] superenv: fix hardcoded X11 aclocal path --- Library/Homebrew/extend/ENV/super.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 5a7b4bd896..e4d0af7e13 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