Bug 235978

Summary: math/gfanlib: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, salvadore
Priority: --- Flags: salvadore: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-02-24 00:47:56 UTC
Created attachment 202306 [details]
patch

Add USES=compiler:c++11-lang to fix build on GCC architectures.

While here, add USES=localbase.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Lorenzo Salvadore freebsd_committer freebsd_triage 2019-02-24 12:59:13 UTC
Comment on attachment 202306 [details]
patch

Looks fine. Thank you very much for your work.

I tested on poudriere on 11.2-RELEASE i386/amd64 and 12.0-RELEASE i386/amd64 (with clang).
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-02-24 22:14:27 UTC
A commit references this bug:

Author: linimon
Date: Sun Feb 24 22:13:25 UTC 2019
New revision: 493820
URL: https://svnweb.freebsd.org/changeset/ports/493820

Log:
  Add USES=compiler:c++11-lang to fix build on GCC-based architectures.

  While here, add USES=localbase to simplify.

  PR:		235978
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Changes:
  head/math/gfanlib/Makefile