Three more with fixes. audio/mscore will conflict with what you already
have.

audio/chromaprint:

FAILED: tests/all_tests
[...]
ld: error: unable to find library -lgtest

audio/mscore:

FAILED: main/mscore
[...]
ld: error: unable to find library -lfreetype

graphics/digikam:

FAILED: core/app/libdigikamcore.so.4.0
[...]
ld.lld: error: unable to find library -llqr-1
ld.lld: error: unable to find library -lglib-2.0
ld.lld: error: unable to find library -lintl

Index: audio/chromaprint/Makefile
===================================================================
RCS file: /cvs/ports/audio/chromaprint/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- audio/chromaprint/Makefile  11 Mar 2022 18:20:06 -0000      1.15
+++ audio/chromaprint/Makefile  27 Apr 2022 09:22:00 -0000
@@ -30,6 +30,8 @@ LIB_DEPENDS =         graphics/ffmpeg
 CONFIGURE_ARGS =       -DBUILD_TOOLS=ON \
                        -DBUILD_TESTS=ON
 
+MODCMAKE_LDFLAGS +=    -L${LOCALBASE}/lib
+
 TEST_TARGET =          check
 
 pre-configure:
Index: audio/mscore/Makefile
===================================================================
RCS file: /cvs/ports/audio/mscore/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- audio/mscore/Makefile       1 Apr 2022 17:18:15 -0000       1.59
+++ audio/mscore/Makefile       27 Apr 2022 09:31:58 -0000
@@ -41,7 +41,6 @@ RUN_DEPENDS = devel/desktop-file-utils \
                x11/gtk+3,-guic
 
 CONFIGURE_ARGS =-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-               -DCMAKE_CXX_FLAGS="${CXXFLAGS} 
-Wno-inconsistent-missing-override" \
                -DBUILD_ALSA=OFF \
                -DBUILD_JACK=OFF \
                -DBUILD_PORTMIDI=OFF \
@@ -52,6 +51,9 @@ CONFIGURE_ARGS =-DCMAKE_INSTALL_PREFIX="
                -DBUILD_CRASH_REPORTER=OFF \
                -DDOWNLOAD_SOUNDFONT=OFF \
                -DBUILD_TELEMETRY_MODULE=OFF
+
+CXXFLAGS +=    -Wno-inconsistent-missing-override
+MODCMAKE_LDFLAGS =     -L${LOCALBASE}/lib -L${X11BASE}/lib
 
 .if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
 CXXFLAGS +=    -mxgot
Index: graphics/digikam/Makefile
===================================================================
RCS file: /cvs/ports/graphics/digikam/Makefile,v
retrieving revision 1.81
diff -u -p -r1.81 Makefile
--- graphics/digikam/Makefile   16 Mar 2022 20:31:58 -0000      1.81
+++ graphics/digikam/Makefile   27 Apr 2022 07:14:46 -0000
@@ -112,6 +112,8 @@ WRKDIST =           ${WRKDIR}/${PKGNAME}
 CONFIGURE_ARGS +=      -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON \
                        -DENABLE_QWEBENGINE=ON
 
+MODCMAKE_LDFLAGS +=    -L${LOCALBASE}/lib
+
 .if ${FLAVOR:Mmysql}
 BUILD_DEPENDS +=       databases/mariadb
 RUN_DEPENDS +=         databases/mariadb

Reply via email to