Update references to compat methods

master
Jack Nagel 2012-12-25 15:35:27 -06:00
parent 9cc5244100
commit e5af64467c
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'

View File

@ -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