Skip to content

Commit

Permalink
Update references to compat methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Dec 25, 2012
1 parent 892f64c commit 43f143f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Library/Formula/qt.rb
Expand Up @@ -44,7 +44,7 @@ def install
"-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

Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/qt5.rb
Expand Up @@ -25,7 +25,7 @@ def install
"-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'

Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/shiboken.rb
Expand Up @@ -25,7 +25,7 @@ def install
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
Expand Down

0 comments on commit 43f143f

Please sign in to comment.