XQuartz: support Tiger's prefix

This commit is contained in:
Misty De Meo 2016-04-17 14:29:12 -07:00 committed by Misty De Meo
parent 46cfc9826c
commit eb9e68817d

View File

@ -36,7 +36,7 @@ module OS
def detect_version def detect_version
if (path = bundle_path) && path.exist? && (version = version_from_mdls(path)) if (path = bundle_path) && path.exist? && (version = version_from_mdls(path))
version version
elsif prefix.to_s == "/usr/X11" elsif prefix.to_s == "/usr/X11" || prefix.to_s == "/usr/X11R6"
guess_system_version guess_system_version
else else
version_from_pkgutil version_from_pkgutil