aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsdist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnsdist/Makefile')
-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