diff options
Diffstat (limited to 'dns/libbind')
-rw-r--r-- | dns/libbind/Makefile | 7 |
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 |