diff --git a/net-p2p/ethash/Makefile b/net-p2p/ethash/Makefile index 809513b55b29..6051b23b4271 100644 --- a/net-p2p/ethash/Makefile +++ b/net-p2p/ethash/Makefile @@ -1,23 +1,31 @@ PORTNAME= ethash PORTVERSION= 0.9.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= net-p2p -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= C/C++ implementation of Ethash and ProgPoW WWW= https://github.com/chfast/ethash LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbenchmark.so:devel/benchmark \ libgtest.so:devel/googletest USES= cmake USE_GITHUB= yes GH_ACCOUNT= chfast CMAKE_OFF= HUNTER_ENABLED -.include +CFLAGS+= -Wno-error=deprecated-declarations + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=strict-prototypes +.endif + +.include