diff options
| author | Adam Vandenberg | 2013-06-13 09:29:24 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-13 09:29:24 -0700 |
| commit | d9efa5e0230207fb8f5fe1ffac0bceaed93b309e (patch) | |
| tree | 4c50a9efa7f0fed200d5c58037595d351e077526 /Library/Formula | |
| parent | 2cdc8aaf14a439c64951943e23d95e242995302b (diff) | |
| download | homebrew-d9efa5e0230207fb8f5fe1ffac0bceaed93b309e.tar.bz2 | |
wireshark: always build with SSl support
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wireshark.rb | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb index 62e966a34..9213fd04a 100644 --- a/Library/Formula/wireshark.rb +++ b/Library/Formula/wireshark.rb @@ -8,36 +8,33 @@ class Wireshark < Formula option 'with-x', 'Include X11 support' option 'with-qt', 'Use QT for GUI instead of GTK+' - option 'with-ssl', 'Enable SSL support' depends_on 'pkg-config' => :build + + depends_on 'glib' + depends_on 'gnutls2' + depends_on 'libgcrypt' + + depends_on 'geoip' => :recommended + depends_on 'c-ares' => :optional - depends_on 'pcre' => :optional - depends_on 'qt' => :optional depends_on 'lua' => :optional + depends_on 'pcre' => :optional depends_on 'portaudio' => :optional - depends_on 'glib' - depends_on 'geoip' => :recommended + depends_on 'qt' => :optional if build.with? 'x' depends_on :x11 depends_on 'gtk+' end - if build.with? 'ssl' - depends_on 'gnutls2' - depends_on 'libgcrypt' - end - def install - args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] - - args << '--with-qt' if build.with? 'qt' + args = ["--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-gnutls", + "--with-ssl"] - if build.with? 'ssl' - args << '--with-gnutls' - args << '--with-ssl' - end + args << "--with-qt" if build.with? "qt" system "./configure", *args system "make" |
