pkgsrc-Bugs archive

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

Re: pkg/60184 (Fix chibi-scheme installation on macos)



> Date: Sun, 12 Apr 2026 16:13:26 +0200
> From: "Diogo" <db7%sdf.org@localhost>
> 
> It turns out that the regex inside shlib-dylib.awk correctly
> converts `lib<name>.so` -> `lib<name>.dylib`, but several modules in
> chibi-scheme do not have the "lib" prefix, ie, they are just
> `<name>.so`.

Aha!  So that explains it, thanks.

> An extremely easy fix would be to drop the "lib" prefix of the regex. In my
> local pkgsrc that worked perfectly. However, I am afraid that this solution
> could affect other packages that have `<name>.so` files even on macOS.

Yes, that's a high-risk change that needs a bulk build and manual
attention to determine whether it's worthwhile.

Let's just use ${SHLIB_EXT} for the non-lib .so entries here.  But
libchibi-scheme.so can still be written as such and it should DTRT.



Home | Main Index | Thread Index | Old Index