diff options
| author | Jack Nagel | 2012-12-25 15:35:27 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-12-25 15:35:27 -0600 |
| commit | 43f143f34f91d8e3de6986d114ccd95936fef0a8 (patch) | |
| tree | df0fe170be2450b51440adcc18e2ebe2978e1a17 /Library/Formula | |
| parent | 892f64ce680105f3068ea831955019eb8d1ae57c (diff) | |
| download | homebrew-43f143f34f91d8e3de6986d114ccd95936fef0a8.tar.bz2 | |
Update references to compat methods
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/qt5.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/shiboken.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 256a6532d..080ac24c4 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -44,7 +44,7 @@ class Qt < Formula "-confirm-license", "-opensource", "-cocoa", "-fast" ] - args << "-L#{MacOS.x11_prefix}/lib" << "-I#{MacOS.x11_prefix}/include" if MacOS::X11.installed? + args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed? args << "-platform" << "unsupported/macx-clang" if ENV.compiler == :clang diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 91c8abe88..d262f67ef 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -25,7 +25,7 @@ class Qt5 < Formula "-confirm-license", "-opensource", "-fast" ] - args << "-L#{MacOS.x11_prefix}/lib" << "-I#{MacOS.x11_prefix}/include" if MacOS::X11.installed? + args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed? args << "-plugin-sql-mysql" if build.include? 'with-mysql' diff --git a/Library/Formula/shiboken.rb b/Library/Formula/shiboken.rb index d938a8e6d..aee50a6d9 100644 --- a/Library/Formula/shiboken.rb +++ b/Library/Formula/shiboken.rb @@ -25,7 +25,7 @@ class Shiboken < Formula if File.exist? "#{python_prefix}/Python" # Python was compiled with --framework: args << "-DPYTHON_LIBRARY='#{python_prefix}/Python'" - if !MacOS.clt_installed? and python_prefix.start_with? '/System/Library' + if !MacOS::CLT.installed? and python_prefix.start_with? '/System/Library' # For Xcode-only systems, the headers of system's python are inside of Xcode args << "-DPYTHON_INCLUDE_DIR='#{MacOS.sdk_path}/System/Library/Frameworks/Python.framework/Versions/2.7/Headers'" else |
