Created attachment 231982 [details] Patch file In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand, our ruby ports (lang/rubyXY) don't include bundled gems in their packages and it also applies to lang/ruby31. That means net/smtp isn't include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to RUN_DEPENDS so this port works fine with Ruby 3.1.
Note that dependency fixes are: Approved by: portmgr (blanket: dependency fix) MFH: <branch|No> (<reason>)
Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=da6b7803d1f8bccac09d69a6d2eaa96e93522743 commit da6b7803d1f8bccac09d69a6d2eaa96e93522743 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2021-11-10 17:59:42 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-03-19 07:10:31 +0000 mail/rubygem-mail: Fix dependency with Ruby 3.1 In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand, our ruby ports (lang/rubyXY) don't include bundled gems in their packages and it also applies to lang/ruby31. That means net/smtp isn't include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to RUN_DEPENDS so this port works fine with Ruby 3.1. PR: 262088 Approved by: portmgr (blanket: dependency fix) MFH: 2022Q1 (dependency fix) mail/rubygem-mail/Makefile | 4 +++- mail/rubygem-mail/files/patch-mail.gemspec (new) | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-)
A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c22b848a5d76a963762a9ea244c029c3d485d693 commit c22b848a5d76a963762a9ea244c029c3d485d693 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2021-11-10 17:59:42 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-03-19 07:23:55 +0000 mail/rubygem-mail: Fix dependency with Ruby 3.1 In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand, our ruby ports (lang/rubyXY) don't include bundled gems in their packages and it also applies to lang/ruby31. That means net/smtp isn't include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to RUN_DEPENDS so this port works fine with Ruby 3.1. PR: 262088 Approved by: portmgr (blanket: dependency fix) MFH: 2022Q1 (dependency fix) (cherry picked from commit da6b7803d1f8bccac09d69a6d2eaa96e93522743) mail/rubygem-mail/Makefile | 4 +++- mail/rubygem-mail/files/patch-mail.gemspec (new) | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-)