Bug 201252

Summary: games/darkplaces: fix build on mips and other archs
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Max Brazhnikov <makc>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (makc)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer 2015-07-01 14:58:57 UTC
Created attachment 158223 [details]

On mips and other non-x86 archs:

cc1: error: unrecognized command line option "-msse2"

It's marked broken on some of them, but instead just sse should be disabled. Fix it in a most correct way, with following:

- Add SSE option on i386 and amd64
- Enable it by default on amd64
- Based on it, disable or enable SSE support completely

I can confirm that it fixes build at least on mips.

While here, silence post-patch
Comment 1 commit-hook freebsd_committer 2015-07-15 20:35:15 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Jul 15 20:34:29 UTC 2015
New revision: 392211
URL: https://svnweb.freebsd.org/changeset/ports/392211

  - Fix build on non-x86
  - Add SSE support

  PR:		201252
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (makc, 2 weeks)