Re: git: 2541ea0bebbc - main - comms/gnuradio: Fix build after 833bce429aa8
Date: Tue, 14 Nov 2023 17:00:41 UTC
Hello Ganael, You can use "USES= localbase:ldflags" too. Cheers, Ganael LAPLANCHE <martymac@freebsd.org> escreveu no dia terça, 14/11/2023 à(s) 16:01: > The branch main has been updated by martymac: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=2541ea0bebbc2fec04a11e297b9f619b680c9f49 > > commit 2541ea0bebbc2fec04a11e297b9f619b680c9f49 > Author: Ganael LAPLANCHE <martymac@FreeBSD.org> > AuthorDate: 2023-11-14 15:48:29 +0000 > Commit: Ganael LAPLANCHE <martymac@FreeBSD.org> > CommitDate: 2023-11-14 15:49:58 +0000 > > comms/gnuradio: Fix build after 833bce429aa8 > > Commit 833bce429aa8 indirectly broke comms/gnuradio, making the linker > not find its libraries anymore: > > ld: error: unable to find library -lgsl > ld: error: unable to find library -lgslcblas > > Fix build by adding ${LOCALBASE}/lib to LDFLAGS. > --- > comms/gnuradio/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile > index f54a65fc9d88..a82842fb1c0f 100644 > --- a/comms/gnuradio/Makefile > +++ b/comms/gnuradio/Makefile > @@ -74,6 +74,7 @@ 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 > -- Nuno Teixeira FreeBSD Committer (ports)