aboutsummaryrefslogtreecommitdiffstats
path: root/net/mtr
diff options
context:
space:
mode:
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index b432a9d7af14..dac26cde5c2e 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -16,8 +16,7 @@ MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
-OPTIONS= IPV6 "Build IPv6 support" on \
- X11 "Build X11-enabled mtr" on
+OPTIONS= IPV6 "Build IPv6 support" on
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -36,9 +35,11 @@ CONFIGURE_ARGS+=--disable-ipv6
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+=--with-gtk
+OPTIONS+= X11 "Build X11-enabled mtr" on
USE_GNOME= gtk20
.else
CONFIGURE_ARGS+=--without-gtk
+OPTIONS+= X11 "Build X11-enabled mtr" off
PKGNAMESUFFIX= -nox11
.endif