Created attachment 208466 [details] patch This port detects architecture based on uname -m and on powerpc64 it prints powerpc, which makes configure script thinks it builds on 32-bit powerpc and causes error because the compiler is configured for 64-bits. Explicitly configure as ppc64 on powerpc64.
Approved as mentor (built on ppcports) pending maintainer review.
Comment on attachment 208466 [details] patch Looks fine to me. Approved
A commit references this bug: Author: pkubaj Date: Tue Oct 29 23:49:10 UTC 2019 New revision: 516040 URL: https://svnweb.freebsd.org/changeset/ports/516040 Log: security/botan2: fix build on powerpc64 This port detects architecture based on uname -m and on powerpc64 it prints powerpc, which makes configure script thinks it builds on 32-bit powerpc and causes error because the compiler is configured for 64-bits. Explicitly configure as ppc64 on powerpc64. PR: 241375 Approved by: tremere@cainites.net (maintainer), linimon (mentor) Changes: head/security/botan2/Makefile