aboutsummaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-14 08:59:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-14 08:59:49 +0000
commit6f578f8bc06a6e3f1835cc3e94078cf26412b2cd (patch)
tree4eb8a387b63fe14c992ab5536c77f24ea62ae95d /net/mtr
parent8dfa54f367e85c606cb2ffe9b4997790f251d371 (diff)
downloadports-6f578f8bc06a6e3f1835cc3e94078cf26412b2cd.tar.gz
ports-6f578f8bc06a6e3f1835cc3e94078cf26412b2cd.zip
- Set OPTIONS X11 correctly by detecting WITHOUT_X11 setting first
PR: ports/165119 Submitted by: edwin
Notes
Notes: svn path=/head/; revision=291325
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