Summary: | math/gfan: 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: |
|
Comment on attachment 202304 [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).
A commit references this bug: Author: linimon Date: Sun Feb 24 22:10:43 UTC 2019 New revision: 493819 URL: https://svnweb.freebsd.org/changeset/ports/493819 Log: This port requires a C++11-compatible compiler to build, so add USES=compiler:c++11-lang to fix build on GCC-based architectures. Also add LDFLAGS to the linking command so that it links against ports libstdc++. While here, add USES=localbase. PR: 235976 Submitted by: Piotr Kubaj Approved by: maintainer Changes: head/math/gfan/Makefile head/math/gfan/files/patch-Makefile |
Created attachment 202304 [details] patch This port requires C++11-compatible compiler to build, so add USES=compiler:c++11-lang to fix build on GCC architectures. Also add LDFLAGS to the linking command so that it links against ports libstdc++. While here, add USES=localbase. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.