From 5f7b13674e7eff69d9e845dfea76c1e6a8bf1a86 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Nov 16 2023 13:46:34 +0000 Subject: Enable perl in flatpak builds perl is now available for use in flatpak apps, but no assumptions should be made as to the location of a given Perl module. --- diff --git a/vim.spec b/vim.spec index fec3174..c065a0e 100644 --- a/vim.spec +++ b/vim.spec @@ -29,11 +29,10 @@ %define withvimspell 0 %define withhunspell 0 %define withlua 1 +%define withperl 1 %if 0%{?flatpak} -%define withperl 0 %define withruby 0 %else -%define withperl 1 %define withruby 1 %endif @@ -486,6 +485,7 @@ mv -f os_unix.h.save os_unix.h %endif %if "%{withperl}" == "1" --enable-perlinterp=dynamic \ + --with-xsubpp=$(which xsubpp) \ %else --disable-perlinterp \ %endif @@ -534,6 +534,7 @@ make clean %endif %if "%{withperl}" == "1" --enable-perlinterp=dynamic \ + --with-xsubpp=$(which xsubpp) \ %else --disable-perlinterp \ %endif