aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkoitsu <koitsu@FreeBSD.org>2007-02-21 07:48:46 +0800
committerkoitsu <koitsu@FreeBSD.org>2007-02-21 07:48:46 +0800
commit97fd9d819f571f168e5a2ef04b87102863e39294 (patch)
tree1d2ebcfe4ab8aa8b2b4637ed724e95529cf14faa /net
parentbb20a5484e694b42401cf9209326b1841ba6111d (diff)
downloadfreebsd-ports-graphics-97fd9d819f571f168e5a2ef04b87102863e39294.tar.gz
freebsd-ports-graphics-97fd9d819f571f168e5a2ef04b87102863e39294.tar.zst
freebsd-ports-graphics-97fd9d819f571f168e5a2ef04b87102863e39294.zip
Add WITHOUT_IPV6 knob (translates to --disable-ipv6).
Approved by: philip
Diffstat (limited to 'net')
-rw-r--r--net/mtr/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 4ca72268653..0618f328f44 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -37,6 +37,10 @@ PKGNAMESUFFIX= -nox11
CONFIGURE_ARGS=--without-gtk --with-gtk-prefix=/nonexistant
.endif
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's|-lresolv||g' ${WRKSRC}/Makefile