aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ethash
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-15 14:18:15 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-15 15:31:46 +0000
commit0d61989ccf8fc6f3823e06b4fae272681d8759b7 (patch)
tree13f9607c957fe5b20ddb7f5ec370f44cdbd3564b /net-p2p/ethash
parent7691d55c4185a759a48b0df0ec5dc7460120b195 (diff)
downloadports-0d61989ccf8fc6f3823e06b4fae272681d8759b7.tar.gz
ports-0d61989ccf8fc6f3823e06b4fae272681d8759b7.zip
net-p2p/ethash: Unbreak
- Adopt port
Diffstat (limited to 'net-p2p/ethash')
-rw-r--r--net-p2p/ethash/Makefile12
1 files changed, 10 insertions, 2 deletions
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
@@ -4,7 +4,7 @@ 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
@@ -20,4 +20,12 @@ GH_ACCOUNT= chfast
CMAKE_OFF= HUNTER_ENABLED
-.include <bsd.port.mk>
+CFLAGS+= -Wno-error=deprecated-declarations
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=strict-prototypes
+.endif
+
+.include <bsd.port.post.mk>