From 8c866b27f0abee87002268ccc33879a0de3f31ad Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 12 Oct 2012 07:04:45 +0000 Subject: Convert to new options framework Feature safe: yes --- dns/libbind/Makefile | 7 +++---- 1 file 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 -.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 -- cgit