HomeFreeBSD

devel/thrift-cpp: fix build with GCC-based architectures

Description

devel/thrift-cpp: fix build with GCC-based architectures

Add -L${OPENSSLLIB} -I${OPENSSLINC} only when base OpenSSL isn't used. Explicitly adding -L/usr/lib make ports GCC link to libstdc++ from /usr/lib instead of /usr/local/lib/gcc8.
Also, explicitly don't use Lua and Qt5, the port uses it if it's installed.

PR: 237506
Approved by: komarov@valerka.net (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20287

Details