Summary: | games/crafty: fix build on non-x86 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dmitry Marakasov <amdmi3> | ||||
Component: | Individual Port(s) | Assignee: | Johan van Selst <johans> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(johans) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
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 |
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)