aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethereal
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2003-12-18 00:40:13 +0800
committergreen <green@FreeBSD.org>2003-12-18 00:40:13 +0800
commit607375355b927cdd4ff6ac40ed16d992ce80ab1f (patch)
tree7e1351412a0d84942acfaf2fd7ff1c31d6971696 /net/ethereal
parent9e58add88bacc2162ae7d04a5dcdbb5390a82f9c (diff)
downloadfreebsd-ports-gnome-607375355b927cdd4ff6ac40ed16d992ce80ab1f.tar.gz
freebsd-ports-gnome-607375355b927cdd4ff6ac40ed16d992ce80ab1f.tar.zst
freebsd-ports-gnome-607375355b927cdd4ff6ac40ed16d992ce80ab1f.zip
Merge GTK2 support.
Submitted by: Sebastian Yepes F.ESN <esn@x123.info> PR: 60255
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index 317ad8884863..d5dab7e6cb18 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/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