diff --git a/Formula/imake.rb b/Formula/imake.rb index 2372dd71b53..b47a0304d3c 100644 --- a/Formula/imake.rb +++ b/Formula/imake.rb @@ -43,7 +43,7 @@ class Imake < Formula resource("xorg-cf-files").stage do # Fix for different X11 locations. inreplace "X11.rules", "define TopXInclude /**/", - "define TopXInclude -I#{MacOS::X11.include}" + "define TopXInclude -I#{MacOS::XQuartz.include}" system "./configure", "--with-config-dir=#{lib}/X11/config", "--prefix=#{HOMEBREW_PREFIX}" system "make", "install"