Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2023 15:50:12 GMT
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2541ea0bebbc - main - comms/gnuradio: Fix build after 833bce429aa8
Message-ID:  <202311141550.3AEFoCLt006999@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311141550.3AEFoCLt006999>