aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-08-08 21:59:07 +0100
committerMike McQuaid2013-08-08 21:59:07 +0100
commitfee0e92735bd76aceeac846ffeb3802c8c3f12fa (patch)
treee2b8fff03a89fd304e6be4a9761b7f516527dd54 /Library
parent18c64aa3216d69ba9c780795e1bb0ccc11b6f36b (diff)
downloadhomebrew-fee0e92735bd76aceeac846ffeb3802c8c3f12fa.tar.bz2
Revert "qt: Default to build in-place and preserve the src"
This reverts commit 9b5f26f358d0f21323ca2eeb5399b73651c347aa.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index c4af5050f..222a60488 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -78,16 +78,11 @@ class Qt < Formula
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