--- mkspecs/freebsd-clang/qmake.conf.orig 2019-04-06 15:03:34 UTC +++ mkspecs/freebsd-clang/qmake.conf @@ -7,9 +7,9 @@ QMAKE_PLATFORM = freebsd include(../common/bsd/bsd.conf) -# Addon software goes into /usr/local on FreeBSD, by default we will look there -QMAKE_INCDIR_POST = /usr/local/include -QMAKE_LIBDIR_POST = /usr/local/lib +# Addon software goes into %%LOCALBASE%% on FreeBSD, by default we will look there +QMAKE_INCDIR_POST = %%LOCALBASE%%/include +QMAKE_LIBDIR_POST = %%LOCALBASE%%/lib QMAKE_LFLAGS_NOUNDEF = -Wl,--no-undefined