svn commit: r438527 - head/dns/dnsdist

Carlos J. Puga Medina cpm at FreeBSD.org
Fri Apr 14 16:31:03 UTC 2017


Author: cpm
Date: Fri Apr 14 16:31:02 2017
New Revision: 438527
URL: https://svnweb.freebsd.org/changeset/ports/438527

Log:
  dns/dnsdist: fix dnsdist binaries when building on 10.3
  
  - Change USES=compiler:c++14-lang to USES=compiler. Now the compiler macro doesn't require any arguments.
  - Bump PORTREVISION
  
  Reported by:	Robin Geuze <robing at transip.nl> via mail

Modified:
  head/dns/dnsdist/Makefile

Modified: head/dns/dnsdist/Makefile
==============================================================================
--- head/dns/dnsdist/Makefile	Fri Apr 14 16:20:26 2017	(r438526)
+++ head/dns/dnsdist/Makefile	Fri Apr 14 16:31:02 2017	(r438527)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dnsdist
 DISTVERSION=	1.1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	dns net
 MASTER_SITES=	https://downloads.powerdns.com/releases/ \
 		LOCAL/cpm
@@ -24,8 +24,8 @@ LIB_DEPENDS=	libboost_serialization.so:d
 		libsodium.so:security/libsodium
 
 GNU_CONFIGURE=	yes
-USES=		bison compiler:c++14-lang cpe gmake libedit libtool localbase \
-		lua:52 pkgconfig tar:bz2
+USES=		bison compiler cpe gmake libedit libtool localbase lua:52 \
+		pkgconfig tar:bz2
 CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin \
 		--enable-dnscrypt \
 		--enable-libsodium \
@@ -38,8 +38,17 @@ GROUPS=		_dnsdist
 
 USE_RC_SUBR=	dnsdist
 
+.include <bsd.port.pre.mk>
+
+# Fix dnsdist binaries when building on FreeBSD 10.3
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
+BUILD_DEPENDS+=	clang39:devel/llvm39
+CC=		clang39
+CXX=		clang++39
+.endif
+
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/dnsdist.conf.sample \
 		${STAGEDIR}${PREFIX}/etc
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list