diff --git a/srcpkgs/weechat/template b/srcpkgs/weechat/template index 512c9e886c3..cb904fa11da 100644 --- a/srcpkgs/weechat/template +++ b/srcpkgs/weechat/template @@ -1,6 +1,6 @@ # Template file for 'weechat' pkgname=weechat -version=4.4.3 +version=4.4.4 revision=1 build_style=cmake configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON @@ -18,7 +18,7 @@ license="GPL-3.0-or-later" homepage="https://www.weechat.org" changelog="https://raw.githubusercontent.com/weechat/weechat/master/CHANGELOG.md" distfiles="https://www.weechat.org/files/src/weechat-${version}.tar.xz" -checksum=295612f8dc24af28c918257d3014eb53342a5d077d5e3d9a3eadf303bd8febfa +checksum=a8f4bb768c3d6ac3ea1eb4e6dc7a7bb2ee19b734a72cc58e063476dae8f3d077 lib32disabled=yes subpackages="weechat-aspell weechat-devel weechat-ruby weechat-python weechat-tcl weechat-lua weechat-perl" @@ -32,6 +32,9 @@ if [ "$CROSS_BUILD" ]; then -DPERL_CFLAGS=-I$_perlpath -DPERL_LFLAGS=-L$_perlpath" fi +pre_configure() { + configure_args+=" -DRuby_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/$(pkg-config --variable=rubyarchhdrdir ruby-3.3)" +} weechat-aspell_package() { lib32disabled=yes