git: a8806c5adaab - main - net-mgmt/nfs-exporter: disable on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jan 2023 15:16:05 UTC
The branch main has been updated by asomers (src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=a8806c5adaab9c0f0b109889d3de65192989461b
commit a8806c5adaab9c0f0b109889d3de65192989461b
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-01-22 21:54:10 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-01-23 15:15:55 +0000
net-mgmt/nfs-exporter: disable on powerpc
An upstream library requires 64-bit atomics and therefore can't build on
powerpc.
PR: 269105
Approved by: mikael (ports)
Sponsored by: Axcient
---
net-mgmt/nfs-exporter/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-mgmt/nfs-exporter/Makefile b/net-mgmt/nfs-exporter/Makefile
index 968c278db13d..d86764cf9b49 100644
--- a/net-mgmt/nfs-exporter/Makefile
+++ b/net-mgmt/nfs-exporter/Makefile
@@ -16,6 +16,10 @@ LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
+# https://github.com/tikv/rust-prometheus/issues/315
+NOT_FOR_ARCHS= powerpc
+NOT_FOR_ARCHS_REASON_powerpc=needs 64-bit atomics
+
BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USES= cargo