From nobody Tue Nov 14 17:00:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SVCHB0yxQz51Wfg; Tue, 14 Nov 2023 17:00:54 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SVCHB0W9tz4Pf7; Tue, 14 Nov 2023 17:00:54 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699981254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w07Z+QE25+LFZwH+IjZtdNwbpl5iVQFWJKLr7HtyUjA=; b=eir7uKO2MNwhWKvTQmO/RDI3XgpWRZ6lnhVotAi0poRx/IwHqny8dX/NNvIO1OZ0Oh+g80 L7af3O1PWUPJ2x6H207TOyXKH+QhXSubHaAdm7twU5rw7ZRtEy/PLo8V0v9awkgSERWVPi Jr6GVIB7KQ5keNdjohkBPStJYndUYBCIJrB4lVQE9i2YTVW9esrpJX1afHbDfKuioaXhYN he0OdBPbWrIg8SULPdzR2BR+bSGAWqVBCpGQpSpv6aOhjtCoB/DBkEhmWs4FuJA40soL/P slcVa1COAwkfn4sc+gDePzkub8Dp2btUsG41MwkiytHrbsZWPKrtfCQ6y152vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699981254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w07Z+QE25+LFZwH+IjZtdNwbpl5iVQFWJKLr7HtyUjA=; b=q6cIOwoRwEYQZRxpb2GHELSZybjSEI4RLfalm7tn78d9A9CZqAS/Zq9RHgd88lHqErS3/m B7MYjOMBRiZVxOnQjzyJ7fWPQiFjWBWQuvFUxteON10kWE+rk5I16JWP8wnGUyIrjVspJy otx4iSyIoHjracczHt0cMRYV1YkXXFf+p7b4/UoT2xGzXlKvKDRKfvNZgERfdoZHFDDvHL Q86IgK+3ccAQmq5xakD+b6Rzjto4VxS14oNjvvaATc7Owfa2t9tUZpGRCWcKDPKPRw+bOS zpR3UcBCSB95e+AbpdXXt/4H1Ys03ixUDDKUTOJ6GLMeoeoagsQ8e2LWAmW3xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699981254; a=rsa-sha256; cv=none; b=PK3Nn5V8djeG2rGcvy+uGXnUfIm147Z7wsf5DigGeoh73NCYFLkN9cxbejvgBw5M2D4jYc AJBXSOvrbFk0VAXHhqrXT6iuC0RPp/aKbc/SKarB7MNFrkVGsGSs8A4K69f70OuUv2kkCk 5W3KsZAZ6Hqf7mYmQJJjs5xQjuX2q24fICRztbC4HPBob5+w3UKXiBRxO0kUuHg3AzrDjv mCiHaY3RhMgR52tBxNhQDEOC5NSvEFHEKcZHwKnyqcE2odjrcvUQ/2LHIyVE9tyQptUNGH 2OEqmc9pOJmNEsXJgdbc+MCfg7eTjwB9Nwh7OrPxWhbPA902lyjF9tL/2k30dA== Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SVCH96Zrpz14mQ; Tue, 14 Nov 2023 17:00:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-1f06931e4f7so3692135fac.1; Tue, 14 Nov 2023 09:00:53 -0800 (PST) X-Gm-Message-State: AOJu0YxKRdu2P12FEJH4DwrzUrhG/FcsZbFPrKFz4WUM3133iBSTNHD9 gW+6XKG9IZ3/M6fARWL2aqy3FKpfOyt1VzfLAOE= X-Google-Smtp-Source: AGHT+IG6jY8luUnltT/Op3m/ESBfxTOsaWH0ontH+DIZxjVhsAPQgo3rxOh33tQ+uCjcJuStZNt08fpur9e2dhBBlAI= X-Received: by 2002:a05:6871:458d:b0:1ea:131f:5fb1 with SMTP id nl13-20020a056871458d00b001ea131f5fb1mr12414320oab.34.1699981253027; Tue, 14 Nov 2023 09:00:53 -0800 (PST) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 References: <202311141550.3AEFoCLt006999@gitrepo.freebsd.org> In-Reply-To: <202311141550.3AEFoCLt006999@gitrepo.freebsd.org> From: Nuno Teixeira Date: Tue, 14 Nov 2023 17:00:41 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 2541ea0bebbc - main - comms/gnuradio: Fix build after 833bce429aa8 To: Ganael LAPLANCHE Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b63d76060a1fba11" --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 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 > AuthorDate: 2023-11-14 15:48:29 +0000 > Commit: Ganael LAPLANCHE > 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
Hello Ganael,

You can use &q= uot;USES=3D localbase:ldflags" too.

Cheers,

Ganael LAPLANCHE <martymac@free= bsd.org> escreveu no dia ter=C3=A7a, 14/11/2023 =C3=A0(s) 16:01:
=
The branch main has= been updated by martymac:

URL: https://cgi= t.FreeBSD.org/ports/commit/?id=3D2541ea0bebbc2fec04a11e297b9f619b680c9f49

commit 2541ea0bebbc2fec04a11e297b9f619b680c9f49
Author:=C2=A0 =C2=A0 =C2=A0Ganael LAPLANCHE <martymac@FreeBSD.org> AuthorDate: 2023-11-14 15:48:29 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Ganael LAPLANCHE <martymac@FreeBSD.org> CommitDate: 2023-11-14 15:49:58 +0000

=C2=A0 =C2=A0 comms/gnuradio: Fix build after 833bce429aa8

=C2=A0 =C2=A0 Commit 833bce429aa8 indirectly broke comms/gnuradio, making t= he linker
=C2=A0 =C2=A0 not find its libraries anymore:

=C2=A0 =C2=A0 =C2=A0 ld: error: unable to find library -lgsl
=C2=A0 =C2=A0 =C2=A0 ld: error: unable to find library -lgslcblas

=C2=A0 =C2=A0 Fix build by adding ${LOCALBASE}/lib to LDFLAGS.
---
=C2=A0comms/gnuradio/Makefile | 1 +
=C2=A01 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A03.2
=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
=C2=A0WX_COMPS=3D=C2=A0 =C2=A0 =C2=A0 wx python:run
=C2=A0USE_LDCONFIG=3D=C2=A0 yes
+LDFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 -L${LOCALBASE}/lib
=C2=A0LIBSTRIP_FILES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 analog audio blocks chan= nels digital dtv fec fft\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 filter pmt qtgui ru= ntime trellis video-sdl\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vocoder wavelet


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000b63d76060a1fba11--