Created attachment 158227 [details] Patch Set CPUS=1 on non-x86. This leads to disabling custom thread synchronization primitives coded in x86 assembly and thus allows build (confirmed successful builds on mips and armv6, however haven't tested whether it actually works)
Well found. I remember looking into this a while ago, but missed that. Thanks for the patch. Committed now.
A commit references this bug: Author: johans Date: Wed Jul 1 19:54:58 UTC 2015 New revision: 391118 URL: https://svnweb.freebsd.org/changeset/ports/391118 Log: - Fix build for several architectures. Set CPUS=1 on non-x86. This leads to disabling custom thread synchronization primitives coded in x86 assembly and thus allows build (confirmed successful builds on mips and armv6, however haven't tested whether it actually works). - Minor cleanups added to pet portlint PR: 201255 Submitted by: amdmi3 Changes: head/games/crafty/Makefile head/games/crafty/pkg-plist