git: c89018c53f08 - main - textproc/rubygem-prism: Update to 0.25.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 06:52:38 UTC
The branch main has been updated by sunpoet:

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

commit c89018c53f080f21aabd39d5088d4275405b7905
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 06:48:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 06:48:17 +0000

    textproc/rubygem-prism: Update to 0.25.0
    
    Changes:        https://github.com/ruby/prism/releases
---
 textproc/rubygem-prism/Makefile                         | 2 +-
 textproc/rubygem-prism/distinfo                         | 6 +++---
 textproc/rubygem-prism/files/patch-ext-prism-extconf.rb | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/textproc/rubygem-prism/Makefile b/textproc/rubygem-prism/Makefile
index 0f0a89a1d726..12bca2d63cd6 100644
--- a/textproc/rubygem-prism/Makefile
+++ b/textproc/rubygem-prism/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	prism
-PORTVERSION=	0.24.0
+PORTVERSION=	0.25.0
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
diff --git a/textproc/rubygem-prism/distinfo b/textproc/rubygem-prism/distinfo
index 144c59194e1b..31b5d072ddc8 100644
--- a/textproc/rubygem-prism/distinfo
+++ b/textproc/rubygem-prism/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708450600
-SHA256 (rubygem/prism-0.24.0.gem) = 5122f9a2259dc845804044ca081066d8927c05279c947cc1854b16909e7dfd5d
-SIZE (rubygem/prism-0.24.0.gem) = 461312
+TIMESTAMP = 1712427994
+SHA256 (rubygem/prism-0.25.0.gem) = c3f65fc10ffd07a5bef79bf16fb251b6b55e6ce4074770bbac88db92e0dd5d2e
+SIZE (rubygem/prism-0.25.0.gem) = 552960
diff --git a/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb b/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb
index a13a2b10fef3..8b5852345f74 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	2023-12-17 17:31:53 UTC
+--- ext/prism/extconf.rb.orig	2024-04-06 20:48:24 UTC
 +++ ext/prism/extconf.rb
-@@ -38,7 +38,7 @@ end
+@@ -45,7 +45,7 @@ def make(target)
  # by this script.`
  def make(target)
    Dir.chdir(File.expand_path("../..", __dir__)) do
--    system("make", target, exception: true)
-+    system("gmake", target, exception: true)
+-    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