1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

dns/knot2: fix include of <bsd.port.options.mk>

PR:		232284
Submitted by:	tobik
This commit is contained in:
Kurt Jaeger 2018-10-19 05:47:41 +00:00
parent 9e7e90b151
commit f1579be110
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482411

View File

@ -3,6 +3,7 @@
PORTNAME= knot
DISTVERSION= 2.7.3
PORTREVISION= 1
CATEGORIES= dns ipv6
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \
https://dns.company/downloads/knot-dns/
@ -13,12 +14,6 @@ COMMENT= High performance authoritative-only DNS server
LICENSE= GPLv3
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 on FreeBSD >= 11.2
.endif
LIB_DEPENDS= libgnutls.so:security/gnutls \
libidn2.so:dns/libidn2 \
liblmdb.so:databases/lmdb \
@ -65,6 +60,13 @@ FASTPARSER_CONFIGURE_ENABLE= fastparser
IDN_CONFIGURE_WITH= libidn
IDN_LIB_DEPENDS= libidn.so:dns/libidn
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 on FreeBSD >= 11.2
.endif
post-patch:
@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \
${WRKSRC}/src/Makefile.in