svn commit: r305758 - head/dns/libbind

Baptiste Daroussin bapt at FreeBSD.org
Fri Oct 12 07:04:46 UTC 2012


Author: bapt
Date: Fri Oct 12 07:04:45 2012
New Revision: 305758
URL: http://svn.freebsd.org/changeset/ports/305758

Log:
  Convert to new options framework
  
  Feature safe:	yes

Modified:
  head/dns/libbind/Makefile

Modified: head/dns/libbind/Makefile
==============================================================================
--- head/dns/libbind/Makefile	Fri Oct 12 06:53:43 2012	(r305757)
+++ head/dns/libbind/Makefile	Fri Oct 12 07:04:45 2012	(r305758)
@@ -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


More information about the svn-ports-all mailing list