Permalink
Browse files

Revert "qt: Default to build in-place and preserve the src"

This reverts commit 9b5f26f.
  • Loading branch information...
MikeMcQuaid committed Aug 8, 2013
1 parent 8ed2fd2 commit 490c659f2f6a1fe4b7b49330229296771df2511e
Showing with 3 additions and 8 deletions.
  1. +3 −8 Formula/qt.rb
View
@@ -78,16 +78,11 @@ def install
args << '-arch' << 'x86'
end
# We move the source and build in-place because:
# - Debug symbols need to find the source so build in the prefix
# - to fix https://github.com/mxcl/homebrew/issues/20020
# - PySide `make apidoc` needs the src
(prefix/"src").mkdir
mv Dir['*'], "#{prefix}/src/"
cd "#{prefix}/src"
if build.with? 'debug-and-release'
args << "-debug-and-release"
# Debug symbols need to find the source so build in the prefix
mv "../qt-everywhere-opensource-src-#{version}", "#{prefix}/src"
cd "#{prefix}/src"
else
args << "-release"
end

0 comments on commit 490c659

Please sign in to comment.