Created attachment 219703 [details] v1 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) Hi mikael, 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: Author: mikael Date: Mon Nov 16 10:21:25 UTC 2020 New revision: 555460 URL: https://svnweb.freebsd.org/changeset/ports/555460 Log: security/botan2: fix build on arm processor_rng is only implemented on x86 and powerpc64 PR: 251160 Approved by: Ralf van der Enden (maintainer) Changes: head/security/botan2/Makefile head/security/botan2/pkg-plist