Created attachment 239757 [details] Patch file Add upstream patch to fix bug of mkmf library. There is bug in mkmf library of Ruby 3.1 that it fails to detect pkg-config command if it isn't installed in environment that Ruby is built, and it causes build error of some ports when default version of Ruby is 3.1. So add upstream patch to fix it. Reference: https://bugs.ruby-lang.org/issues/19189
Maintainer timeout. Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc1c752e8b1cfb6162b9243f275efbe33ec04757 commit fc1c752e8b1cfb6162b9243f275efbe33ec04757 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2023-01-28 05:35:34 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2023-02-11 05:59:02 +0000 lang/ruby31: Add upstream patch to fix bug of mkmf library There is bug in mkmf library of Ruby 3.1 that it fails to detect pkg-config command if it isn't installed in environment that Ruby is built, and it causes build error of some ports when default version of Ruby is 3.1. So add upstream patch to fix it. Reference: https://bugs.ruby-lang.org/issues/19189 PR: 269197 Approved by: maintainer timeout MFH: 2023Q1 Mk/Uses/ruby.mk | 2 +- lang/ruby31/files/patch-mkmf-pkg-config (new) | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-)
A commit in branch 2023Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb4a68c58b46091c845663699b59734fba937e92 commit fb4a68c58b46091c845663699b59734fba937e92 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2023-01-28 05:35:34 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2023-02-11 06:00:36 +0000 lang/ruby31: Add upstream patch to fix bug of mkmf library There is bug in mkmf library of Ruby 3.1 that it fails to detect pkg-config command if it isn't installed in environment that Ruby is built, and it causes build error of some ports when default version of Ruby is 3.1. So add upstream patch to fix it. Reference: https://bugs.ruby-lang.org/issues/19189 PR: 269197 Approved by: maintainer timeout MFH: 2023Q1 (cherry picked from commit fc1c752e8b1cfb6162b9243f275efbe33ec04757) Mk/bsd.ruby.mk | 2 +- lang/ruby31/files/patch-mkmf-pkg-config (new) | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-)