From 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08 Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Thu, 24 Apr 2025 09:08:39 -0400 Subject: [PATCH] www/webkit2-gtk: fix configure with ruby 3.4 Add getoptlong unconditionally to BUILD_DEPENDS /usr/local/lib/ruby/3.4/did_you_mean/core_ext/name_error.rb:11: warning: getoptlong is not part of the default gems starting from Ruby 3.4.0. Install getoptlong from RubyGems. :136:in 'Kernel#require': cannot load such file -- getoptlong (LoadError) from :136:in 'Kernel#require' from /wrkdirs/usr/ports/www/webkit2-gtk/work-60/.build/WTF/Scripts/generate-unified-source-bundles.rb:27:in '
' CMake Error at Source/cmake/WebKitMacros.cmake:30 (message): generate-unified-source-bundles.rb exited with non-zero status, exiting --- www/webkit2-gtk/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/www/webkit2-gtk/Makefile b/www/webkit2-gtk/Makefile index cf07deff9e9c..b0482bfcdf8c 100644 --- a/www/webkit2-gtk/Makefile +++ b/www/webkit2-gtk/Makefile @@ -17,6 +17,7 @@ LICENSE_COMB= dual BROKEN_riscv64= error: Unknown Architecture +BUILD_DEPENDS= rubygem-getoptlong>0:devel/rubygem-getoptlong LIB_DEPENDS= libavif.so:graphics/libavif \ libdrm.so:graphics/libdrm \ libenchant-2.so:textproc/enchant2 \