aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb6
-rw-r--r--Library/Formula/qt5.rb6
2 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 0c90d07ae..fc1bcf9e6 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -22,9 +22,9 @@ class Qt < Formula
depends_on "d-bus" => :optional
depends_on "mysql" => :optional
- odie 'qt: --with-qtdbus has been renamed to --with-d-bus' if ARGV.include? '--with-qtdbus'
- odie 'qt: --with-demos-examples is no longer supported' if ARGV.include? '--with-demos-examples'
- odie 'qt: --with-debug-and-release is no longer supported' if ARGV.include? '--with-debug-and-release'
+ odie 'qt: --with-qtdbus has been renamed to --with-d-bus' if build.include? 'with-qtdbus'
+ odie 'qt: --with-demos-examples is no longer supported' if build.include? 'with-demos-examples'
+ odie 'qt: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release'
def install
ENV.universal_binary if build.universal?
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb
index 5627e3a01..5b17c3f77 100644
--- a/Library/Formula/qt5.rb
+++ b/Library/Formula/qt5.rb
@@ -22,9 +22,9 @@ class Qt5 < Formula
depends_on "d-bus" => :optional
depends_on "mysql" => :optional
- odie 'qt5: --with-qtdbus has been renamed to --with-d-bus' if ARGV.include? '--with-qtdbus'
- odie 'qt5: --with-demos-examples is no longer supported' if ARGV.include? '--with-demos-examples'
- odie 'qt5: --with-debug-and-release is no longer supported' if ARGV.include? '--with-debug-and-release'
+ odie 'qt5: --with-qtdbus has been renamed to --with-d-bus' if build.include? 'with-qtdbus'
+ odie 'qt5: --with-demos-examples is no longer supported' if build.include? 'with-demos-examples'
+ odie 'qt5: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release'
def install
ENV.universal_binary if build.universal?