Update references to compat methods
parent
9cc5244100
commit
e5af64467c
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue