git: 0d61989ccf8f - main - net-p2p/ethash: Unbreak
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 May 2023 15:31:57 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d61989ccf8fc6f3823e06b4fae272681d8759b7
commit 0d61989ccf8fc6f3823e06b4fae272681d8759b7
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-15 14:18:15 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-15 15:31:46 +0000
net-p2p/ethash: Unbreak
- Adopt port
---
net-p2p/ethash/Makefile | 12 ++++++++++--
1 file 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>