Update to 2.5.3

Require gcc to allow compilation to succeed on FreeBSD 11+ i386

ChangeLog: https://gitlab.labs.nic.cz/knot/knot-dns/raw/v2.5.3/NEWS

PR:		220355
Submitted by:	freebsd@dns-lab.com (maintainer)
This commit is contained in:
Matthew Seaman 2017-07-19 07:33:35 +00:00
parent ef9926de5f
commit 89652866d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446186
2 changed files with 15 additions and 8 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= knot
PORTVERSION= 2.5.2
PORTREVISION= 1
PORTVERSION= 2.5.3
CATEGORIES= dns ipv6
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \
http://dns-lab.com/downloads/knot-dns/
@ -41,8 +40,6 @@ SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}"
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
BROKEN_i386= Issues in knot/modules/*/*.c: undefined reference to '__atomic_fetch_add_8'
OPTIONS_DEFINE= DNSTAP FASTPARSER IDN
DNSTAP_DESC= dnstap support (see dnstap.info)
@ -62,6 +59,16 @@ FASTPARSER_CONFIGURE_ENABLE= fastparser
IDN_CONFIGURE_WITH= libidn
IDN_LIB_DEPENDS= libidn.so:dns/libidn
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPUTYPE= i686
CFLAGS+= -march=i686
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
USE_GCC= yes
.endif
.endif
post-patch:
@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \
${WRKSRC}/src/Makefile.in
@ -75,4 +82,4 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1498323571
SHA256 (knot-2.5.2.tar.xz) = 286671a4ee35a5207b2e45fd0812962b481b1b543bf3d5df3a8c319c26e2f5e9
SIZE (knot-2.5.2.tar.xz) = 1071648
TIMESTAMP = 1500303200
SHA256 (knot-2.5.3.tar.xz) = d78ae231a68ace264f5738c8e57481923bcad7413f3f440c06fa6cc0aded9d8e
SIZE (knot-2.5.3.tar.xz) = 1073372