aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2018-04-04 00:56:39 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2018-04-04 00:56:39 +0000
commit5dc7c4c7e41c253387298b43e578f5d776641c8d (patch)
treecfa9852cfc7c982a9f74c1cad68283efcf02017c
parent9ec0217bbe86ae13bf57c55787c8b9233392d856 (diff)
downloadports-5dc7c4c7e41c253387298b43e578f5d776641c8d.tar.gz
ports-5dc7c4c7e41c253387298b43e578f5d776641c8d.zip
Notes
-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