mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
dns/dnsdist: convert to USES=compiler
This commit is contained in:
parent
027d6e93aa
commit
4c8fdb8ef9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468038
@ -22,7 +22,7 @@ LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \
|
||||
libsodium.so:security/libsodium
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= bison compiler cpe gmake libedit libtool localbase \
|
||||
USES= bison compiler:c++14-lang cpe gmake libedit libtool localbase \
|
||||
pkgconfig tar:bz2
|
||||
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \
|
||||
--enable-dns-over-tls \
|
||||
@ -62,14 +62,7 @@ OPENSSL_CONFIGURE_ON= LIBSSL_CFLAGS=-I${OPENSSLINC} LIBSSL_LIBS="-L${OPENSSLLIB}
|
||||
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
|
||||
SNMP_CONFIGURE_WITH= net-snmp
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# 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
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1004000
|
||||
BROKEN= fails to link due to lack of thread_local
|
||||
@ -79,4 +72,4 @@ post-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/dnsdist.conf.sample \
|
||||
${STAGEDIR}${PREFIX}/etc
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user