git: 2215152bfc51 - main - comms/gnuradio: Switch to 'USES' for LDCONFIG patch

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Wed, 15 Nov 2023 11:18:47 UTC
The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2215152bfc510a6656871c9b6d4eac8917a967eb

commit 2215152bfc510a6656871c9b6d4eac8917a967eb
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2023-11-15 11:15:34 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2023-11-15 11:15:34 +0000

    comms/gnuradio: Switch to 'USES' for LDCONFIG patch
    
    This improves commit 2541ea0b: use USES=localbase:ldflags instead of
    direct modification of LDCONFIG.
    
    Reported by: eduardo via ports-committers@
---
 comms/gnuradio/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index a82842fb1c0f..9dcfc10e9e2c 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -48,8 +48,8 @@ LIB_DEPENDS=	libcodec2.so:audio/codec2 \
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		cmake compiler:c++11-lang desktop-file-utils fortran gnome \
-		iconv perl5 pkgconfig pyqt:5 python qt:5 shared-mime-info \
-		shebangfix
+		iconv localbase:ldflags perl5 pkgconfig pyqt:5 python \
+		qt:5 shared-mime-info shebangfix
 
 SHEBANG_FILES=	grc/scripts/freedesktop/grc_setup_freedesktop.in \
 		gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \
@@ -74,7 +74,6 @@ USE_WX=		3.2
 USE_QT=		buildtools core gui xml qmake widgets
 WX_COMPS=	wx python:run
 USE_LDCONFIG=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib
 LIBSTRIP_FILES=	analog audio blocks channels digital dtv fec fft\
 		filter pmt qtgui runtime trellis video-sdl\
 		vocoder wavelet