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
This commit is contained in:
Carlos J. Puga Medina 2018-04-04 01:03:12 +00:00
parent ce61efd0f4
commit 0f8e0598f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=466389

View File

@ -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