From 2c2660f4e3497944f47e761b38ef5cf5ee95c17e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 3 Jul 2012 08:35:29 -0500 Subject: wireshark: --with-x needs x11 Signed-off-by: Jack Nagel --- Library/Formula/wireshark.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb index 31140f7dd..3e8326416 100644 --- a/Library/Formula/wireshark.rb +++ b/Library/Formula/wireshark.rb @@ -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 [ -- cgit v1.2.3