Created attachment 219703 [details]
from a quick glance, processor_rng seems to be only implemented on x86 and powerpc64
===> Building package for botan2-2.17.1
pkg-static: Unable to access file /wrkdirs/usr/ports/security/botan2/work/stage/usr/local/include/botan-2/botan/processor_rng.h:No such file or directory
(In reply to Mikael Urankar from comment #0)
Are lines 74 and 77 necessary, as those are set in the second .if/.else/.endif block as well ?
Other than that the patch looks fine.
(In reply to Ralf van der Enden from comment #1)
A commit references this bug:
Date: Mon Nov 16 10:21:25 UTC 2020
New revision: 555460
security/botan2: fix build on arm
processor_rng is only implemented on x86 and powerpc64
Approved by: Ralf van der Enden (maintainer)