Permalink
Browse files

Remove more code that cannot possibly execute

build.with? requires the option to be defined.
  • Loading branch information...
jacknagel committed May 23, 2014
1 parent b8eeadc commit 40591369d445a956dadb099b6dc74fc0bb10413f
Showing with 0 additions and 8 deletions.
  1. +0 −4 Formula/qt.rb
  2. +0 −4 Formula/qt5.rb
View
@@ -22,10 +22,6 @@ class Qt < Formula
depends_on "d-bus" => :optional
depends_on "mysql" => :optional
odie 'qt: --with-qtdbus has been renamed to --with-d-bus' if build.with? "qtdbus"
odie 'qt: --with-demos-examples is no longer supported' if build.with? "demos-examples"
odie 'qt: --with-debug-and-release is no longer supported' if build.with? "debug-and-release"
def install
ENV.universal_binary if build.universal?
View
@@ -37,10 +37,6 @@ class Qt5 < Formula
depends_on "mysql" => :optional
depends_on :xcode
odie "qt5: --with-qtdbus has been renamed to --with-d-bus" if build.with? "qtdbus"
odie "qt5: --with-demos-examples is no longer supported" if build.with? "demos-examples"
odie "qt5: --with-debug-and-release is no longer supported" if build.with? "debug-and-release"
def install
ENV.universal_binary if build.universal?
args = ["-prefix", prefix,

0 comments on commit 4059136

Please sign in to comment.