Bug 237116 - cad/solvespace: fix build with GCC-based architectures
Summary: cad/solvespace: 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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-08 16:12 UTC by Piotr Kubaj
Modified: 2019-04-08 16:43 UTC (History)
2 users (show)

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


Attachments
patch (764 bytes, patch)
2019-04-08 16:12 UTC, Piotr Kubaj
no flags 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-04-08 16:12:08 UTC
Created attachment 203494 [details]
patch

This port requires C++11-compatible compiler, add USES=compiler:c++11-lang.

GCC architectures don't use libc++, remove -stdlib=libc++ from CMakeLists.txt. Clang architectures use libc++ by default anyway.

While here, add USES=gl gnome.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-08 16:43:07 UTC
A commit references this bug:

Author: swills
Date: Mon Apr  8 16:42:21 UTC 2019
New revision: 498384
URL: https://svnweb.freebsd.org/changeset/ports/498384

Log:
  cad/solvespace: fix build with GCC-based architectures

  PR:		237116
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/cad/solvespace/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2019-04-08 16:43:26 UTC
Committed, thanks!