From 474ee4742c3eb0e319346d20cc0de4c6f360b05f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 26 Feb 2014 20:32:48 -0800 Subject: pyside: use Formula[] --- Library/Formula/pyside.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index 1be7a8b81..3dda9c977 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -20,10 +20,11 @@ class Pyside < Formula # Add out of tree build because one of its deps, shiboken, itself needs an # out of tree build in shiboken.rb. mkdir "macbuild" do + qt = Formula["qt"].opt_prefix args = std_cmake_args + %W[ -DSITE_PACKAGE=#{lib}/python2.7/site-packages - -DALTERNATIVE_QT_INCLUDE_DIR=#{Formula.factory('qt').opt_prefix}/include - -DQT_SRC_DIR=#{Formula.factory('qt').opt_prefix}/src + -DALTERNATIVE_QT_INCLUDE_DIR=#{qt}/include + -DQT_SRC_DIR=#{qt}/src -DPYTHON_SUFFIX='-python2.7' .. ] -- cgit v1.2.3