weechat: rebuild for ruby-3.0.2.

This commit is contained in:
Leah Neukirchen 2021-07-14 20:42:32 +02:00
parent a6e5d9284e
commit 7d0e28c46a

View file

@ -1,7 +1,7 @@
# Template file for 'weechat' # Template file for 'weechat'
pkgname=weechat pkgname=weechat
version=3.2 version=3.2
revision=2 revision=3
build_style=cmake build_style=cmake
configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON
-DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON -DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON
@ -32,6 +32,10 @@ if [ "$CROSS_BUILD" ]; then
-DPERL_LFLAGS=-L$_perlpath" -DPERL_LFLAGS=-L$_perlpath"
fi fi
post_extract() {
vsed -i '/pkg_search_module/s/ruby-2.7/ruby-3.0 &/' cmake/FindRuby.cmake
}
weechat-aspell_package() { weechat-aspell_package() {
lib32disabled=yes lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"