diff options
| author | Adam Vandenberg | 2014-02-26 20:32:48 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:24 -0800 | 
| commit | 474ee4742c3eb0e319346d20cc0de4c6f360b05f (patch) | |
| tree | 7a3c9da67846c413ee61adf205a9d47427cb3ce5 | |
| parent | d1877093ca26007a84a47df659f5277f0b9a90f9 (diff) | |
| download | homebrew-474ee4742c3eb0e319346d20cc0de4c6f360b05f.tar.bz2 | |
pyside: use Formula[]
| -rw-r--r-- | Library/Formula/pyside.rb | 5 | 
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'          ..        ] | 
