Created attachment 204158 [details] patch Don't link with $ssldir/lib if $ssldir is /usr. This creates a build failure on GCC architectures. -L/usr/lib is added to LDFLAGS and GCC from ports tries to link to base libstdc++. Tested on powerpc64 and amd64
A commit references this bug: Author: pkubaj Date: Mon May 20 15:49:41 UTC 2019 New revision: 502122 URL: https://svnweb.freebsd.org/changeset/ports/502122 Log: security/yapet: fix build with GCC-based architectures Don't link with $ssldir/lib if $ssldir is /usr. This creates a build failure on GCC architectures. -L/usr/lib is added to LDFLAGS and GCC from ports tries to link to base libstdc++. PR: 237703 Approved by: mat (maintainer), rafi@guengel.ch (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D20284 Changes: head/security/yapet/files/ head/security/yapet/files/patch-configure