aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-06-16 20:19:24 -0500
committerJack Nagel2013-06-16 20:28:22 -0500
commita33eba67d4f940c49b759fa6a06bf723911782e7 (patch)
tree83d09c3a1f4c7212f1ed7a28e5322b8450c47729
parent9192ef3767f96b28affff3fd5c5519e9e1e63d0c (diff)
downloadhomebrew-a33eba67d4f940c49b759fa6a06bf723911782e7.tar.bz2
wireshark: disable gtk+ frontend unless with-x is passed
Fixes #20528.
-rw-r--r--Library/Formula/wireshark.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index 9213fd04a..988fa8462 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -34,6 +34,7 @@ class Wireshark < Formula
"--with-gnutls",
"--with-ssl"]
+ args << "--disable-wireshark" << "--disable-gtktest" unless build.with? "x"
args << "--with-qt" if build.with? "qt"
system "./configure", *args