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,18 +1,18 @@ PORTNAME= prism -PORTVERSION= 0.25.0 +PORTVERSION= 0.26.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 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 + )