Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 01:35:06 +0200
From:      Jussi Korkala <jussi.korkala@icloud.com>
To:        Alastair Hogge <agh@riseup.net>
Cc:        Freebsd Ports <freebsd-ports@freebsd.org>
Subject:   Re: [277823 ] devel/matreshka: Build fails in package phase
Message-ID:  <2355B4B6-C24B-4255-BEDF-892D1BDA92D4@icloud.com>
In-Reply-To: <275d8c987d63c42682e3cff27cddb754@riseup.net>
References:  <275d8c987d63c42682e3cff27cddb754@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Is the compiler intentionally padded with crap like GCC?

Best regards,
Jussi Korkala

> On 21. Mar 2024, at 1.25, Alastair Hogge <agh@riseup.net> wrote:
>=20
> =EF=BB=BFHello,
>=20
> Regarding the mentioned Port, and Problem Report[1], Matreshka currently
> installs shared libraries with the compiler version hard-coded in the
> filename, example:
>=20
> lib/matreshka/xml/libmatreshka-xml-12.2.so.20.0
>=20
> The 12.2 in the above corresponds to the Free Software Foundation's Ada
> compiler, GNAT-12. Currently I am testing the following addition to the
> Makefile:
>=20
>> PLIST_SUB=3DGNAT_VERSION=3D         ${_GNAT_VERSION}
>> [...]
>> _GNAT_VERSION=3D                  12.3
>=20
> And have made the required changes to the pkg-plist, that is, replacing
> all occurences of "12.2" with %%GNAT_VERSION%%, however, I am left
> wondering if there is another way to obtain the version of GCC used,
> instead of volunteers hard coding the version manually in the Makefile,
> every time the tool chain is updated...
>=20
> Summary:
> How can I get the version number of the tool chain used to compile a
> Port?
>=20
> 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277823
>=20
> Thanks,
> Alastair
>=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2355B4B6-C24B-4255-BEDF-892D1BDA92D4>