View | Details | Raw Unified | Return to bug 168808 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +7 lines)
Lines 16-22 Link Here
16
MAINTAINER=	sunpoet@FreeBSD.org
16
MAINTAINER=	sunpoet@FreeBSD.org
17
COMMENT=	Traceroute and ping in a single graphical network diagnostic tool
17
COMMENT=	Traceroute and ping in a single graphical network diagnostic tool
18
18
19
OPTIONS=	IPV6	"Build IPv6 support" on
19
OPTIONS_DEFINE=	IPV6 X11
20
OPTIONS_DEFAULT=	IPV6
21
.if !defined(WITHOUT_X11)
22
OPTIONS_DEFAULT+=	X11
23
.endif
20
24
21
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
22
USE_GMAKE=	yes
26
USE_GMAKE=	yes
Lines 26-45 Link Here
26
30
27
.include <bsd.port.options.mk>
31
.include <bsd.port.options.mk>
28
32
29
.if !defined(WITHOUT_IPV6)
33
.if ${PORT_OPTIONS:MIPV6}
30
CONFIGURE_ARGS+=--enable-ipv6
34
CONFIGURE_ARGS+=--enable-ipv6
31
CATEGORIES+=	ipv6
35
CATEGORIES+=	ipv6
32
.else
36
.else
33
CONFIGURE_ARGS+=--disable-ipv6
37
CONFIGURE_ARGS+=--disable-ipv6
34
.endif
38
.endif
35
39
36
.if !defined(WITHOUT_X11)
40
.if ${PORT_OPTIONS:MX11}
37
CONFIGURE_ARGS+=--with-gtk
41
CONFIGURE_ARGS+=--with-gtk
38
OPTIONS+=	X11	"Build X11-enabled mtr" on
39
USE_GNOME=	gtk20
42
USE_GNOME=	gtk20
40
.else
43
.else
41
CONFIGURE_ARGS+=--without-gtk
44
CONFIGURE_ARGS+=--without-gtk
42
OPTIONS+=	X11	"Build X11-enabled mtr" off
43
PKGNAMESUFFIX=	-nox11
45
PKGNAMESUFFIX=	-nox11
44
.endif
46
.endif
45
47

Return to bug 168808