aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-18 12:56:51 -0500
committerJack Nagel2013-10-18 13:38:18 -0500
commitb7e9dc31b06daf503d8242e1de57846271534a15 (patch)
treece3a84ddee507acdb010a475c2e6ecb98c18f57f /Library
parent9c7af3b95c953f3208361aee3291d9e86c389a0c (diff)
downloadhomebrew-b7e9dc31b06daf503d8242e1de57846271534a15.tar.bz2
Merge XQuartz and X11 modules
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index 82680d3ba..c906da38e 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -1,5 +1,7 @@
module OS
module Mac
+ X11 = XQuartz = Module.new
+
module XQuartz
extend self
@@ -87,18 +89,6 @@ module OS
def installed?
!version.nil? && !prefix.nil?
end
- end
-
- module X11
- extend self
-
- def prefix
- MacOS::XQuartz.prefix
- end
-
- def installed?
- MacOS::XQuartz.installed?
- end
# If XQuartz and/or the CLT are installed, headers will be found under
# /opt/X11/include or /usr/X11/include. For Xcode-only systems, they are