diff options
| author | Misty De Meo | 2016-04-17 14:34:18 -0700 |
|---|---|---|
| committer | Misty De Meo | 2016-04-18 09:52:46 -0700 |
| commit | a1a81daffca376e0f9dff1754eb354e162c98686 (patch) | |
| tree | 682ba5811027144654c4c93697d98808e01b36b5 | |
| parent | 880ba0c9522883d47ba5a40b42e6ba3402db9466 (diff) | |
| download | brew-a1a81daffca376e0f9dff1754eb354e162c98686.tar.bz2 | |
XQuartz: detect Tiger's prefix
| -rw-r--r-- | Library/Homebrew/os/mac/xquartz.rb | 3 |
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 |
