diff options
author | adam <adam@pkgsrc.org> | 2010-04-08 10:03:31 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-04-08 10:03:31 +0000 |
commit | f22e3c68ead55a72b107a122bedbadb1d0accbfd (patch) | |
tree | ebe5a83b3ce9b753ca1453cffdeca1ea6f9b9460 /net/wireshark | |
parent | 030bf053e191092bac702ea5be57a32c137dd0d3 (diff) | |
download | pkgsrc-f22e3c68ead55a72b107a122bedbadb1d0accbfd.tar.gz |
Changed option name from 'x11' to 'gtk2', as GTK2 can be built without X11
support (e.g. on Mac OS X). Tested - works on Mac OS X without X11.
Diffstat (limited to 'net/wireshark')
-rw-r--r-- | net/wireshark/PLIST | 6 | ||||
-rw-r--r-- | net/wireshark/options.mk | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/net/wireshark/PLIST b/net/wireshark/PLIST index ac73343c3ac..155414ad50a 100644 --- a/net/wireshark/PLIST +++ b/net/wireshark/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2010/04/04 11:40:25 tron Exp $ +@comment $NetBSD: PLIST,v 1.17 2010/04/08 10:03:31 adam Exp $ bin/capinfos bin/dftest bin/dumpcap @@ -9,7 +9,7 @@ bin/randpkt bin/rawshark bin/text2pcap bin/tshark -${PLIST.x11}bin/wireshark +${PLIST.gtk2}bin/wireshark lib/libwireshark.la lib/libwiretap.la lib/libwsutil.la @@ -39,7 +39,7 @@ man/man1/mergecap.1 man/man1/rawshark.1 man/man1/text2pcap.1 man/man1/tshark.1 -${PLIST.x11}man/man1/wireshark.1 +${PLIST.gtk2}man/man1/wireshark.1 man/man4/wireshark-filter.4 share/wireshark/AUTHORS-SHORT share/wireshark/COPYING diff --git a/net/wireshark/options.mk b/net/wireshark/options.mk index dcb9034d9fd..b3c40f6dabc 100644 --- a/net/wireshark/options.mk +++ b/net/wireshark/options.mk @@ -1,17 +1,17 @@ -# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:09 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2010/04/08 10:03:31 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.wireshark -PKG_SUPPORTED_OPTIONS= x11 -PKG_SUGGESTED_OPTIONS= x11 +PKG_SUPPORTED_OPTIONS= gtk2 +PKG_SUGGESTED_OPTIONS= gtk2 .include "../../mk/bsd.options.mk" -PLIST_VARS+= x11 +PLIST_VARS+= gtk2 -.if !empty(PKG_OPTIONS:Mx11) +.if !empty(PKG_OPTIONS:Mgtk2) CONFIGURE_ARGS+= --enable-gtk2 CONFIGURE_ARGS+= --with-gtk-prefix=${BUILDLINK_PREFIX.gtk2} -PLIST.x11= yes +PLIST.gtk2= yes .include "../../x11/gtk2/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-wireshark |