Created attachment 234150 [details] v0 It builds fine and reports correct cpu info on aarch64 /usr/ports/sysutils/lscpu/work/stage/usr/local/bin/lscpu Architecture: arm64 Byte Order: Little Endian Total CPU(s): 4 Model name: ARM Cortex-A57 r1p1
Approved.
I've just tried on an armv7 board and it also reports correct info: /usr/ports/sysutils/lscpu/work/stage/usr/local/bin/lscpu Architecture: arm Byte Order: Little Endian Total CPU(s): 4 Model name: ARM Cortex-A15 r3p3 (ECO: 0x00000000) I propose to remove ONLY_FOR_ARCH if that's ok for you.
Comment on attachment 234150 [details] v0 Approved by: zi (maintainer)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5bc90fd03f49fc9528524d3a7a6779584e8373c4 commit 5bc90fd03f49fc9528524d3a7a6779584e8373c4 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-05-23 16:56:16 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-05-24 08:59:46 +0000 sysutils/lscpu: Remove ONLY_FOR_ARCHS It works on all supported architectures. PR: 264144 264175 Reported by: Graham Perrin Approved by: zi sysutils/lscpu/Makefile | 2 -- 1 file changed, 2 deletions(-)