superenv: fix hardcoded X11 aclocal path
This commit is contained in:
parent
2bbe2dba16
commit
43f0c63135
@ -200,7 +200,7 @@ module Superenv
|
|||||||
def determine_aclocal_path
|
def determine_aclocal_path
|
||||||
paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/aclocal" }
|
paths = keg_only_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/aclocal" }
|
||||||
paths << "#{HOMEBREW_PREFIX}/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
|
paths.to_path_s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user