aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index f4d85b918..abf63a684 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -80,9 +80,7 @@ class Qt < Formula
args << "-no-qt3support"
end
- unless build.with? 'docs'
- args << "-nomake" << "docs"
- end
+ args << "-nomake" << "docs" if build.without? 'docs'
if MacOS.prefer_64_bit? or build.universal?
args << '-arch' << 'x86_64'