Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2023 17:00:41 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Ganael LAPLANCHE <martymac@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 2541ea0bebbc - main - comms/gnuradio: Fix build after 833bce429aa8
Message-ID:  <CAFDf7U%2BUO2WTZF3t_oJprwusqva-qz3F-tgeAzui-v3UZDCz6w@mail.gmail.com>
In-Reply-To: <202311141550.3AEFoCLt006999@gitrepo.freebsd.org>
References:  <202311141550.3AEFoCLt006999@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b63d76060a1fba11
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Ganael,

You can use "USES=3D localbase:ldflags" too.

Cheers,

Ganael LAPLANCHE <martymac@freebsd.org> escreveu no dia ter=C3=A7a, 14/11/2=
023
=C3=A0(s) 16:01:

> The branch main has been updated by martymac:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=3D2541ea0bebbc2fec04a11e297b9f6=
19b680c9f49
>
> 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 linke=
r
>     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=3D               3.2
>  USE_QT=3D                buildtools core gui xml qmake widgets
>  WX_COMPS=3D      wx python:run
>  USE_LDCONFIG=3D  yes
> +LDFLAGS+=3D      -L${LOCALBASE}/lib
>  LIBSTRIP_FILES=3D        analog audio blocks channels digital dtv fec ff=
t\
>                 filter pmt qtgui runtime trellis video-sdl\
>                 vocoder wavelet
>


--=20
Nuno Teixeira
FreeBSD Committer (ports)

--000000000000b63d76060a1fba11
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Ganael,</div><div><br></div><div>You can use &q=
uot;USES=3D localbase:ldflags&quot; too.<br><br></div><div>Cheers,<br></div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>Ganael LAPLANCHE &lt;<a href=3D"mailto:martymac@freebsd.org">martymac@free=
bsd.org</a>&gt; escreveu no dia ter=C3=A7a, 14/11/2023 =C3=A0(s) 16:01:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">The branch main has=
 been updated by martymac:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D2541ea0bebbc2fe=
c04a11e297b9f619b680c9f49" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3D2541ea0bebbc2fec04a11e297b9f619b680c9f49</=
a><br>
<br>
commit 2541ea0bebbc2fec04a11e297b9f619b680c9f49<br>
Author:=C2=A0 =C2=A0 =C2=A0Ganael LAPLANCHE &lt;martymac@FreeBSD.org&gt;<br=
>
AuthorDate: 2023-11-14 15:48:29 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Ganael LAPLANCHE &lt;martymac@FreeBSD.org&gt;<br=
>
CommitDate: 2023-11-14 15:49:58 +0000<br>
<br>
=C2=A0 =C2=A0 comms/gnuradio: Fix build after 833bce429aa8<br>
<br>
=C2=A0 =C2=A0 Commit 833bce429aa8 indirectly broke comms/gnuradio, making t=
he linker<br>
=C2=A0 =C2=A0 not find its libraries anymore:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 ld: error: unable to find library -lgsl<br>
=C2=A0 =C2=A0 =C2=A0 ld: error: unable to find library -lgslcblas<br>
<br>
=C2=A0 =C2=A0 Fix build by adding ${LOCALBASE}/lib to LDFLAGS.<br>
---<br>
=C2=A0comms/gnuradio/Makefile | 1 +<br>
=C2=A01 file changed, 1 insertion(+)<br>
<br>
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile<br>
index f54a65fc9d88..a82842fb1c0f 100644<br>
--- a/comms/gnuradio/Makefile<br>
+++ b/comms/gnuradio/Makefile<br>
@@ -74,6 +74,7 @@ USE_WX=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A03.2<br>
=C2=A0USE_QT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 buil=
dtools core gui xml qmake widgets<br>
=C2=A0WX_COMPS=3D=C2=A0 =C2=A0 =C2=A0 wx python:run<br>
=C2=A0USE_LDCONFIG=3D=C2=A0 yes<br>
+LDFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 -L${LOCALBASE}/lib<br>
=C2=A0LIBSTRIP_FILES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 analog audio blocks chan=
nels digital dtv fec fft\<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 filter pmt qtgui ru=
ntime trellis video-sdl\<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vocoder wavelet<br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div>

--000000000000b63d76060a1fba11--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BUO2WTZF3t_oJprwusqva-qz3F-tgeAzui-v3UZDCz6w>