Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 22:39:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395914 - head/dns/libbind
Message-ID:  <201509022239.t82MdSxJ066777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  2 22:39:27 2015
New Revision: 395914
URL: https://svnweb.freebsd.org/changeset/ports/395914

Log:
  - Switch to options helpers
  - Drop 8.x support

Modified:
  head/dns/libbind/Makefile

Modified: head/dns/libbind/Makefile
==============================================================================
--- head/dns/libbind/Makefile	Wed Sep  2 22:20:57 2015	(r395913)
+++ head/dns/libbind/Makefile	Wed Sep  2 22:39:27 2015	(r395914)
@@ -22,26 +22,13 @@ CONFIGURE_ARGS=	--localstatedir=/var --w
 OPTIONS_DEFINE=	IPV6 THREADS
 OPTIONS_DEFAULT=	IPV6 THREADS
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=	--enable-ipv6
-.else
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
-
-.if ${PORT_OPTIONS:MTHREADS}
-CONFIGURE_ARGS+=	--enable-threads
-.else
-CONFIGURE_ARGS+=	--disable-threads
-.endif
+IPV6_CONFIGURE_ENABLE=		ipv6
+THREADS_CONFIGURE_ENABLE=	threads
 
 verify:	checksum
 	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
 
-.if ${OSVERSION} > 900007
 post-patch:
 	${REINPLACE_CMD} -e '/#include <utmp.h>/ d' ${WRKSRC}/irs/*.c
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509022239.t82MdSxJ066777>