git: 4c9f1b2bb853 - main - www/webkit2-gtk: fix configure with ruby 3.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Apr 2025 13:10:02 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08
commit 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-04-24 13:08:39 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-04-24 13:08:39 +0000
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
---
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 \