Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit 9334cea

Browse files
committed
xquartz: Fix prefix for Linuxbrew
Setting the prefix to be HOMEBREW_PREFIX since on Linuxbrew X11 dependencies have a default dependency on linuxbrew/linuxbrew/xorg. Closes #52. Closes #53. Signed-off-by: Bob W. Hogg <[email protected]>
1 parent b21be51 commit 9334cea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Library/Homebrew/os/mac/xquartz.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def prefix
102102
# X11 doesn't include libpng on Tiger
103103
elsif Pathname.new("/usr/X11R6/lib/libX11.dylib").exist?
104104
Pathname.new("/usr/X11R6")
105+
elsif OS.linux?
106+
HOMEBREW_PREFIX
105107
end
106108
end
107109

0 commit comments

Comments
 (0)