Created attachment 198302 [details] patch USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang overwrites it. Remove USES=compiler:c++11-lang, to use the proper compiler. Also use libstdc++ on GCC architectures to fix build. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Fri Nov 2 01:54:08 UTC 2018 New revision: 483764 URL: https://svnweb.freebsd.org/changeset/ports/483764 Log: USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang overwrites it. Remove the latter to use the proper compiler. Also use libstdc++ on GCC architectures to fix build. While here, pet portlint. PR: 232386 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/lang/libobjc2/Makefile