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)



The following reply was made to PR pkg/60184; it has been noted by GNATS.

From: "Diogo" <db7%sdf.org@localhost>
To: "Taylor R Campbell" <riastradh%NetBSD.org@localhost>, "Diogo" <db7%sdf.org@localhost>
Cc: <gnats-bugs%netbsd.org@localhost>, <macos-pkg-people%netbsd.org@localhost>,
        <pkgsrc-bugs%netbsd.org@localhost>, <gnats-admin%netbsd.org@localhost>
Subject: Re: pkg/60184 (Fix chibi-scheme installation on macos)
Date: Sun, 12 Apr 2026 16:13:26 +0200

 On Sun Apr 12, 2026 at 3:09 PM CEST, Taylor R Campbell wrote:
 >> Date: Sat, 11 Apr 2026 22:14:46 +0200
 >> From: "Diogo" <db7%sdf.org@localhost>
 >>
 >> > So why isn't shlib-dylib.awk already working here?
 >>
 > Here's the relevant fragments of mk/plist/plist.mk:
 > ...
 > So the files to look at should be lang/chibi-scheme/work/.PLIST*.  in
 > particular, .PLIST-3mag should have the .so paths, and .PLIST should
 > have them all fixed up to be dylibs.
 
 That's what I needed, thanks!
 
 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`.
 
 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.
 
 IIRC chicken5, for example, does store libraries as .so files even on macOS=
 . The
 best would be to work with upstream to get this fixed and use .dylib instea=
 d,
 but I am not sure how likely that solution would be.
 
 An alternative is to default the conversion of everything that ends with .s=
 o to
 .dylib, while providing an option to disable that behavior.
 



Home | Main Index | Thread Index | Old Index