From 910fab186f446689c5b4675b30e288e793938121 Mon Sep 17 00:00:00 2001 From: pi Date: Fri, 19 Oct 2018 05:47:41 +0000 Subject: dns/knot2: fix include of PR: 232284 Submitted by: tobik --- dns/knot2/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'dns') diff --git a/dns/knot2/Makefile b/dns/knot2/Makefile index 57587374fbc8..8aa3fecb4ce5 100644 --- a/dns/knot2/Makefile +++ b/dns/knot2/Makefile @@ -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 -.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 + +.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 -- cgit