aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-07-03 08:35:29 -0500
committerJack Nagel2012-07-03 08:35:29 -0500
commit2c2660f4e3497944f47e761b38ef5cf5ee95c17e (patch)
treea7a77e94b842c4f947c56d549e603bbbe2e48d4a /Library/Formula
parentec522f627d610c544468bf25a6005beab86011c9 (diff)
downloadhomebrew-2c2660f4e3497944f47e761b38ef5cf5ee95c17e.tar.bz2
wireshark: --with-x needs x11
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wireshark.rb6
1 files changed, 5 insertions, 1 deletions
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
[