summaryrefslogtreecommitdiff
path: root/net/wireshark
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2003-12-17 16:40:13 +0000
committerBrian Feldman <green@FreeBSD.org>2003-12-17 16:40:13 +0000
commit4159cbb78f7c713fd6ead07929061c6cb44bdc0f (patch)
treeee6910952b74598daca43e44fcdc6ff1196333d9 /net/wireshark
parent- Update to version 1.5 (diff)
Merge GTK2 support.
Submitted by: Sebastian Yepes F.ESN <esn@x123.info> PR: 60255
Diffstat (limited to 'net/wireshark')
-rw-r--r--net/wireshark/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index 317ad8884863..d5dab7e6cb18 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -27,7 +27,12 @@ CONFIGURE_ARGS= --program-transform-name=""
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.if !defined(WITHOUT_X11)
USE_X_PREFIX= yes
+.if defined(WITH_GTK2)
+LIB_DEPENDS+= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
+CONFIGURE_ARGS+= --enable-gtk2=yes
+.else
USE_GNOME= gtk12
+.endif
MAN1+= ethereal.1
PLIST_SUB+= ETHEREAL=bin/ethereal
.else