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.
<internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require': cannot load such file -- getoptlong (LoadError)
	from <internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /wrkdirs/usr/ports/www/webkit2-gtk/work-60/.build/WTF/Scripts/generate-unified-source-bundles.rb:27:in '<main>'
CMake Error at Source/cmake/WebKitMacros.cmake:30 (message):
  generate-unified-source-bundles.rb exited with non-zero status, exiting
This commit is contained in:
Charlie Li 2025-04-24 09:08:39 -04:00
parent 1c41fd97c7
commit 4c9f1b2bb8
No known key found for this signature in database
GPG key ID: 678F936058415CCA

View file

@ -17,6 +17,7 @@ LICENSE_COMB= dual
BROKEN_riscv64= error: Unknown Architecture BROKEN_riscv64= error: Unknown Architecture
BUILD_DEPENDS= rubygem-getoptlong>0:devel/rubygem-getoptlong
LIB_DEPENDS= libavif.so:graphics/libavif \ LIB_DEPENDS= libavif.so:graphics/libavif \
libdrm.so:graphics/libdrm \ libdrm.so:graphics/libdrm \
libenchant-2.so:textproc/enchant2 \ libenchant-2.so:textproc/enchant2 \