git: d83e9ee7e8a4 - main - textproc/rubygem-prism: Update to 0.26.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 18:32:05 UTC
The branch main has been updated by sunpoet:

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

commit d83e9ee7e8a41c87aeff9702e66ed1094a642d9e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 18:29:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 18:29:19 +0000

    textproc/rubygem-prism: Update to 0.26.0
    
    Changes:        https://github.com/ruby/prism/releases
                    https://github.com/ruby/prism/blob/main/CHANGELOG.md
---
 textproc/rubygem-prism/Makefile                        |  2 +-
 textproc/rubygem-prism/distinfo                        |  6 +++---
 .../rubygem-prism/files/patch-ext-prism-extconf.rb     | 18 +++++++++---------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/textproc/rubygem-prism/Makefile b/textproc/rubygem-prism/Makefile
index 12bca2d63cd6..8f7115351f1a 100644
--- a/textproc/rubygem-prism/Makefile
+++ b/textproc/rubygem-prism/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	prism
-PORTVERSION=	0.25.0
+PORTVERSION=	0.26.0
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
diff --git a/textproc/rubygem-prism/distinfo b/textproc/rubygem-prism/distinfo
index 31b5d072ddc8..706207f55306 100644
--- a/textproc/rubygem-prism/distinfo
+++ b/textproc/rubygem-prism/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712427994
-SHA256 (rubygem/prism-0.25.0.gem) = c3f65fc10ffd07a5bef79bf16fb251b6b55e6ce4074770bbac88db92e0dd5d2e
-SIZE (rubygem/prism-0.25.0.gem) = 552960
+TIMESTAMP = 1713624766
+SHA256 (rubygem/prism-0.26.0.gem) = 734f0267d8b48406d3234e61b1403f2c86283b84820ee868388a95c544df7a8a
+SIZE (rubygem/prism-0.26.0.gem) = 560640
diff --git a/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb b/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb
index 8b5852345f74..a34c4efa7137 100644
--- a/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb
+++ b/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb
@@ -1,11 +1,11 @@
---- ext/prism/extconf.rb.orig	2024-04-06 20:48:24 UTC
+--- ext/prism/extconf.rb.orig	2024-04-20 15:25:13 UTC
 +++ ext/prism/extconf.rb
-@@ -45,7 +45,7 @@ def make(target)
- # by this script.`
- def make(target)
+@@ -49,7 +49,7 @@ def make(target)
    Dir.chdir(File.expand_path("../..", __dir__)) do
--    system(RUBY_PLATFORM.include?("openbsd") ? "gmake" : "make", target, exception: true)
-+    system((RUBY_PLATFORM.include?("freebsd") || RUBY_PLATFORM.include?("openbsd")) ? "gmake" : "make", target, exception: true)
-   end
- end
- 
+     system(
+       RbConfig::CONFIG.slice(*%w[SOEXT CPPFLAGS CFLAGS CC AR ARFLAGS MAKEDIRS RMALL]), # env
+-      RUBY_PLATFORM.include?("openbsd") ? "gmake" : "make",
++      (RUBY_PLATFORM.include?("freebsd") || RUBY_PLATFORM.include?("openbsd")) ? "gmake" : "make",
+       target,
+       exception: true
+     )