wireshark: --with-x needs x11

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-07-03 08:35:29 -05:00
parent a78d9506d7
commit b2284830b0

View file

@ -15,7 +15,11 @@ class Wireshark < Formula
depends_on 'c-ares' => :optional
depends_on 'pcre' => :optional
depends_on 'glib'
depends_on 'gtk+' if ARGV.include? '--with-x'
if ARGV.include? '--with-x'
depends_on :x11
depends_on 'gtk+'
end
def options
[