| Summary: | graphics/animorph: add USES=compiler:gcc-c++11-lib localbase:ldflags | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
| Status: | Closed Overcome By Events | ||||||
| Severity: | Affects Only Me | CC: | jbeich, linimon, ndowens04, pkubaj | ||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(amdmi3) |
||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Using compiler:gcc-c++11-lib will break it on mips*, as it will try to pull GCC(which is not available on mips) (In reply to Nathan from comment #1) Hm, ok, that's bad. But it's broken anyway right now on those platforms. At least we can fix powerpc64 and when newer GCC is available for mips*, they will work too. (In reply to Nathan from comment #1) I'd have to say I'm skeptical anyone is using this port on mips*. (In reply to Mark Linimon from comment #3) compiler:c++11 or anything like this, will pull gcc7, which is not available on mips. I can't test powerpc or anything. I'm hoping gcc8 will work on mips/mips64 (In reply to Nathan from comment #4) Update seems gcc8 is also marked as IGNORED -std=gnu++03 is gone after ports r483249 Works fine now. |
Created attachment 197356 [details] patch This patch does three things: 1) fix build with mips, mips64 and powerpc64 by using compiler:gcc-c++11-lib (there's no compiler option for gnu++03) 2) remove USE_GCC, it's already set up by compiler:gcc-c++11-lib, 3) replace manual CPPFLAGS and LDFLAGS with localbase:ldflags. Tested on powerpc64 and amd64.