tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/rexx-regina: Linux/NetBSD build inconsistency



On Fri, Dec 6, 2024, at 12:53 AM, Rhialto wrote:

> I would expect that having a versioned file is in general better than
> having an unversioned file. So if you can find out why the file doesn't
> have a version number on NetBSD, and fix that, that would be great.
> (This sort of thing is usually some relatively subtle issue that may be
> hard to find but easy to fix)

Indeed, it was missing a case for netbsd in configure where it decides
to use a versioned library or not. That was compounded by a check for
GCC by name, which fails as pkgsrc ends up using GCC via its cc name.
To work around the frail check, I just use the versioned lib stanza
unconditionally like it does for Linux.

This patch has been tested on NetBSD and Linux. It also affects FreeBSD and OpenBSD.
It is bulky because I patch your patch:) so I dumped it on this paste service:
http://okturing.com/src/21877/body

Can contact me directly for any further info.


Home | Main Index | Thread Index | Old Index