wireshark: Don't disable-wireshark if your are going to build with Qt

Ensure that if build with qt is specified, we still build wireshark.

Closes Homebrew/homebrew#21020.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Goran Stefkovski 2013-07-05 14:33:31 +10:00 committed by Jack Nagel
parent 04a8e9251f
commit e22909093a

View file

@ -34,7 +34,8 @@ class Wireshark < Formula
"--with-gnutls",
"--with-ssl"]
args << "--disable-wireshark" << "--disable-gtktest" unless build.with? "x"
args << "--disable-wireshark" unless build.with? "x" or build.with? "qt"
args << "--disable-gtktest" unless build.with? "x"
args << "--with-qt" if build.with? "qt"
system "./configure", *args