Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 16:31:02 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438527 - head/dns/dnsdist
Message-ID:  <201704141631.v3EGV2C0020191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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