Bug 238895 - math/g2o: fix build with GCC-based architectures
Summary: math/g2o: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-30 11:47 UTC by Piotr Kubaj
Modified: 2019-08-01 18:57 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch (860 bytes, patch)
2019-06-30 11:47 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-06-30 11:47:47 UTC
Created attachment 205435 [details]
patch

This port seems to enable all SSE* CPU features even outside of x86 platforms. Disable that to fix build.

Also add USES=compiler:c++11-lang, the port needs C++11 and add USES=gl.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-01 18:57:01 UTC
A commit references this bug:

Author: pkubaj
Date: Thu Aug  1 18:56:20 UTC 2019
New revision: 507819
URL: https://svnweb.freebsd.org/changeset/ports/507819

Log:
  math/g2o: fix build on non-x86 architectures

  This port seems to enable all SSE* CPU features even outside of x86 platforms. Disable that to fix build.

  Also add USES=compiler:c++11-lang, the port needs C++11 and add USES=gl.

  PR:		238895
  Approved by:	yuri (maintainer timeout), linimon (mentor)
  Differential Revision:	https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238895

Changes:
  head/math/g2o/Makefile