wireshark: --with-x needs x11
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
a78d9506d7
commit
b2284830b0
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue