Summary: | sysutils/passwordsafe: Fix build with powerpc* | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Mark Linimon <linimon> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | pkubaj | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brnrd) koobs: merge-quarterly? |
||||
Hardware: | powerpc | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: linimon Date: Fri Mar 29 14:50:58 UTC 2019 New revision: 497148 URL: https://svnweb.freebsd.org/changeset/ports/497148 Log: Add USES=compiler:c++11-lang, this port adds -std=c++11 to CPPFLAGS. Don't add --stdlib=libc++ to CXXFLAGS, Clang uses it by default and GCC can't use libc++. Don't set CC, CXX, CPP, those are set by the ports tree. Add a define for __ppc__. While here, pet portlint. PR: 236799 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/sysutils/passwordsafe/Makefile head/sysutils/passwordsafe/files/patch-Makefile.freebsd It looks like files/patch-src_core_PwsPlatform.h wasn't committed, the port still fails. A commit references this bug: Author: linimon Date: Thu Oct 3 21:14:07 UTC 2019 New revision: 513735 URL: https://svnweb.freebsd.org/changeset/ports/513735 Log: Add file missed in r497148. Pointyhat to: linimon PR: 236799 Submitted by: pkubaj Approved by: portmgr (tier-2 blanket) Changes: head/sysutils/passwordsafe/files/patch-src_core_PwsPlatform.h |
Created attachment 203157 [details] patch Add USES=compiler:c++11-lang, this port adds -std=c++11 to CPPFLAGS. Don't add --stdlib=libc++ to CXXFLAGS, Clang uses it by default and GCC can't use libc++. Don't set CC, CXX, CPP, those are set by the ports tree. Add a define for __ppc__. Tested on powerpc64 and amd64.