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,18 +1,18 @@ PORTNAME= prism -PORTVERSION= 0.24.0 +PORTVERSION= 0.25.0 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Prism Ruby parser WWW= https://ruby.github.io/prism/ \ https://github.com/ruby/prism LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= rubygem-rake>=0:devel/rubygem-rake USES= gem gmake .include 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