Created attachment 205906 [details] patch FreeBSD doesn't have bits/hwcap.h header and elf_aux_info needs to be used instead of getauxval.
Created attachment 205921 [details] v2 Also fix packaging.
Thank you! Feel free to commit the patch.
A commit references this bug: Author: pkubaj Date: Tue Jul 30 12:21:15 UTC 2019 New revision: 507637 URL: https://svnweb.freebsd.org/changeset/ports/507637 Log: net-mgmt/aircrack-ng: fix build on powerpc* FreeBSD doesn't have bits/hwcap.h header and elf_aux_info needs to be used instead of getauxval. On powerpc platforms there are libraries for Altivec installed and no libraries for AVX and SSE are installed. PR: 239319 Approved by: lme (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21040 Changes: head/net-mgmt/aircrack-ng/Makefile head/net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c head/net-mgmt/aircrack-ng/pkg-plist