Created attachment 204432 [details] patch Adding -L/usr/lib when using gcc8 (used on GCC architectures) makes gcc8 link to base libstdc++ which breaks build. Fix this by adding -L${OPENSSLBASE} only when using non-base SSL.
This builds for me, so once the maintainer approves, consider this mentor approval.
A commit references this bug: Author: pkubaj Date: Sat Jun 15 12:59:24 UTC 2019 New revision: 504242 URL: https://svnweb.freebsd.org/changeset/ports/504242 Log: net-mgmt/xymon-server: fix build with GCC-based architectures Adding -L/usr/lib when using gcc8 (used on GCC architectures) makes gcc8 link to base libstdc++ which breaks build. Fix this by adding -L${OPENSSLBASE} only when using non-base SSL. PR: 237956 Approved by: feld (maintainer timeout), linimon (mentor, on IRC) Changes: head/net-mgmt/xymon-server/Makefile head/net-mgmt/xymon-server/files/Makefile