Bug 262506 - misc/sdformat: Fix build when 3.x is default version of Ruby
Summary: misc/sdformat: Fix build when 3.x is default version of Ruby
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yasuhiro Kimura
URL:
Keywords:
Depends on:
Blocks: 262350
  Show dependency treegraph
 
Reported: 2022-03-12 18:27 UTC by Yasuhiro Kimura
Modified: 2022-03-14 05:06 UTC (History)
0 users

See Also:
yuri: maintainer-feedback+


Attachments
Patch file (1.17 KB, patch)
2022-03-12 18:27 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-03-12 18:27:36 UTC
Created attachment 232406 [details]
Patch file

Since Ruby 3.0 rexml is converted to bundled gem. On the other hand our Ruby ports (lang/rubyXY) don't install bundled gems. So rexml isn't included in packages of Ruby 3.x and ports that require rexml need to add textproc/rubygem-rexml to their dependency explicitly.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-03-12 18:33:54 UTC
Approved, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-14 05:05:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57bb7137aab071f97655c20b00787505a4e43b55

commit 57bb7137aab071f97655c20b00787505a4e43b55
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-12 18:04:22 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-14 04:59:00 +0000

    misc/sdformat: Fix build with Ruby 3.x

    Since Ruby 3.0 rexml is converted to bundled gem. On the other hand
    our Ruby ports (lang/rubyXY) don't install bundled gems. So rexml
    isn't included in packages of Ruby 3.x and ports that require rexml
    need to add textproc/rubygem-rexml to their dependency explicitly.

    PR:             262506
    Approved by:    maintainer

 misc/sdformat/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)