Created attachment 207647 [details] patch Only add -L${NCURSESLIB} when ${NCURSESLIB} isn't /usr/lib to prevent linking with base libstdc++ on GCC architectures.
Approved as mentor pending maintainer review.
A commit references this bug: Author: pkubaj Date: Mon Sep 30 14:22:54 UTC 2019 New revision: 513387 URL: https://svnweb.freebsd.org/changeset/ports/513387 Log: net/sems: fix build on big-endian architectures This port needs C++11 compiler: cc1plus: error: unrecognized command line option "-std=c++11" Additionally, it needs appropriate definitions for big-endian architectures: /usr/local/poudriere/ports/default/net/sems/work/sems-7400051/core/plug-in/isac/libisac/typedefs.h:80:2: error: #error Please add support for your architecture in typedefs.h 80 | #error Please add support for your architecture in typedefs.h | ^~~~~ PR: 240707 Approved by: nwhitehorn (maintainer), linimon (mentor) Changes: head/net/sems/Makefile head/net/sems/files/patch-core_plug-in_isac_libisac_typedefs.h
A commit references this bug: Author: pkubaj Date: Sun Dec 22 19:23:51 UTC 2019 New revision: 520653 URL: https://svnweb.freebsd.org/changeset/ports/520653 Log: ports-mgmt/portal: fix build on GCC architectures Only add -L${NCURSESLIB} when ${NCURSESLIB} isn't /usr/lib to prevent linking with base libstdc++ on GCC architectures. PR: 240707 Approved by: culot (maintainer) Changes: head/ports-mgmt/portal/Makefile