aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/dnstracer/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/dns/dnstracer/Makefile b/dns/dnstracer/Makefile
index 04dd920b645d..f1a1fd0ca244 100644
--- a/dns/dnstracer/Makefile
+++ b/dns/dnstracer/Makefile
@@ -20,4 +20,12 @@ USE_GMAKE= yes
MAN8= dnstracer.8
PLIST_FILES= bin/dnstracer
-.include <bsd.port.mk>
+OPTIONS= IPV6 "With IPv6 support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
+.include <bsd.port.post.mk>