aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2018-04-04 01:03:12 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2018-04-04 01:03:12 +0000
commit0f8e0598f41fc00468a8e06f214dd2f2d480ad52 (patch)
tree7652e95a9a8395c83fa4c504cf65bfb2934355de /dns
parentce61efd0f4210732ce68c43a9ce96d51897f6349 (diff)
downloadports-0f8e0598f41fc00468a8e06f214dd2f2d480ad52.tar.gz
ports-0f8e0598f41fc00468a8e06f214dd2f2d480ad52.zip
MFH: r466388
- Fix and update the comment when building dnsdist on 10.x - Mark BROKEN on FreeBSD 10.3, fails to link due to lack of thread_local Approved by: ports-secteam blanket
Notes
Notes: svn path=/branches/2018Q2/; revision=466389
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsdist/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile
index d4f816af6947..5fa117df0de5 100644
--- a/dns/dnsdist/Makefile
+++ b/dns/dnsdist/Makefile
@@ -64,13 +64,17 @@ SNMP_CONFIGURE_WITH= net-snmp
.include <bsd.port.pre.mk>
-# Fix dnsdist binaries when building on FreeBSD 10.3
+# Fix dnsdist binary when building on FreeBSD 10.x
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
BUILD_DEPENDS+= clang50:devel/llvm50
CC= clang50
CXX= clang++50
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1004000
+BROKEN= fails to link due to lack of thread_local
+.endif
+
post-install:
${INSTALL_DATA} ${FILESDIR}/dnsdist.conf.sample \
${STAGEDIR}${PREFIX}/etc