aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-12 07:04:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-12 07:04:45 +0000
commit416fb31fdea7d6de77830e607e3c66973367d4f6 (patch)
treeb835267db7736a039e0332db9193e0ecf0faec1c /dns
parent4483e3ffd334a46048c3c024f5217c2586f1680f (diff)
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/libbind/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/dns/libbind/Makefile b/dns/libbind/Makefile
index 2a02d6cb496e..aae4996acf2a 100644
--- a/dns/libbind/Makefile
+++ b/dns/libbind/Makefile
@@ -17,18 +17,17 @@ MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --with-randomdev=/dev/random
-OPTIONS= IPV6 "Compile with IPv6 support" on \
- THREADS "Compile with thread support" on
+OPTIONS_DEFINE= IPV6 THREADS
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
-.if !defined(WITHOUT_THREADS)
+.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads