Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: PLIST additions in ruby-* ports
To:
Jeremy Evans <jeremy@openbsd.org>
Cc:
ports <ports@openbsd.org>
Date:
Sat, 06 Sep 2025 15:47:00 +0000

Download raw body.

Thread
06.09.2025 18:18, Jeremy Evans пишет:
> It's expected that the port maintainer fixes the issue manually. 
> Most gems ship the extension files in the ext directory, and in
> most cases, you don't need to keep the ext directory, but there
> can be exceptions, such as when the gem builds an executable file
> there and expects it to exist at runtime.
> 
> It may be possible to automatically clear the GEM_EXTENSIONS_DIR,
> since I'm not aware of anything currently using it. However, future
> changes to rubygems may stop copying .so files to the gem lib folder,
> in which case we'll have to add the GEM_EXTENSIONS_DIR to the package.
> That and considering you need to tweak the PLIST manually anyway for
> the extension source files is the reason I haven't had the ruby
> module do it.
> 
> This is documented in ruby-module.5.

Thanks for the explanation and pointer, I didn't read that manual
all the way, duely noted.