aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 20:32:48 -0800
committerAdam Vandenberg2014-02-27 08:21:24 -0800
commit474ee4742c3eb0e319346d20cc0de4c6f360b05f (patch)
tree7a3c9da67846c413ee61adf205a9d47427cb3ce5
parentd1877093ca26007a84a47df659f5277f0b9a90f9 (diff)
downloadhomebrew-474ee4742c3eb0e319346d20cc0de4c6f360b05f.tar.bz2
pyside: use Formula[]
-rw-r--r--Library/Formula/pyside.rb5
1 files 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'
..
]