diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-02-14 16:59:49 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-02-14 16:59:49 +0800 |
commit | b4b7164c298b9f20906d1f41899dba8a6813388f (patch) | |
tree | 0b0b1c9f1c385249d84532154fd06edb58e5c9cb /net | |
parent | 073de4aa14e2032a715051c9052416cf0c27907b (diff) | |
download | freebsd-ports-gnome-b4b7164c298b9f20906d1f41899dba8a6813388f.tar.gz freebsd-ports-gnome-b4b7164c298b9f20906d1f41899dba8a6813388f.tar.zst freebsd-ports-gnome-b4b7164c298b9f20906d1f41899dba8a6813388f.zip |
- Set OPTIONS X11 correctly by detecting WITHOUT_X11 setting first
PR: ports/165119
Submitted by: edwin
Diffstat (limited to 'net')
-rw-r--r-- | net/mtr/Makefile | 5 |
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 |