diff options
| author | Adam Vandenberg | 2013-05-03 09:28:45 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2013-05-03 11:41:55 -0700 | 
| commit | 11bf38b2b1aa2e64be6ab418edf57693f7ac0d70 (patch) | |
| tree | a7ea8a0602a9c9f58066b4d02f7880ff52bbf2b3 /Library/Formula/pyside.rb | |
| parent | c4e995dc66ae068d43f1df8b326ed3af3d6e6f21 (diff) | |
| download | homebrew-11bf38b2b1aa2e64be6ab418edf57693f7ac0d70.tar.bz2 | |
Add frameworks helper to formula
Diffstat (limited to 'Library/Formula/pyside.rb')
| -rw-r--r-- | Library/Formula/pyside.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index d3c984dfd..25b8f7c1e 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -18,13 +18,13 @@ class Pyside < Formula      # unless the folder containing those frameworks is added to the compiler      # search path.      qt = Formula.factory 'qt' -    ENV.append_to_cflags "-F#{qt.prefix}/Frameworks" +    ENV.append_to_cflags "-F#{qt.frameworks}"      # Also need `ALTERNATIVE_QT_INCLUDE_DIR` to prevent "missing file" errors.      # Add out of tree build because one of its deps, shiboken, itself needs an      # out of tree build in shiboken.rb.      args = std_cmake_args + %W[ -      -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.prefix}/Frameworks +      -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.frameworks}        -DSITE_PACKAGE=lib/#{which_python}/site-packages        -DBUILD_TESTS=NO        .. | 
