aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index 6ac970b18..3147dc1df 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -99,6 +99,9 @@ module OS
Pathname.new("/opt/X11")
elsif Pathname.new("/usr/X11/lib/libpng.dylib").exist?
Pathname.new("/usr/X11")
+ # X11 doesn't include libpng on Tiger
+ elsif Pathname.new("/usr/X11R6/lib/libX11.dylib").exist?
+ Pathname.new("/usr/X11R6")
end
end