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

"Taylor R Campbell via gnats" <[email protected]> Sun, 12 Apr 2026 14:35:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60184; it has been noted by GNATS.

From: Taylor R Campbell <[email protected]>
To: "Diogo" <[email protected]>
Cc: [email protected],
	[email protected],
	[email protected],
	[email protected]
Subject: Re: pkg/60184 (Fix chibi-scheme installation on macos)
Date: Sun, 12 Apr 2026 14:31:46 +0000

 > Date: Sun, 12 Apr 2026 16:13:26 +0200
 > From: "Diogo" <[email protected]>
 >=20
 > 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 soluti=
 on
 > 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.