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.
This commit is contained in:
parent
7667b5b7de
commit
5f7b13674e
5
vim.spec
5
vim.spec
@ -29,11 +29,10 @@
|
|||||||
%define withvimspell 0
|
%define withvimspell 0
|
||||||
%define withhunspell 0
|
%define withhunspell 0
|
||||||
%define withlua 1
|
%define withlua 1
|
||||||
|
%define withperl 1
|
||||||
%if 0%{?flatpak}
|
%if 0%{?flatpak}
|
||||||
%define withperl 0
|
|
||||||
%define withruby 0
|
%define withruby 0
|
||||||
%else
|
%else
|
||||||
%define withperl 1
|
|
||||||
%define withruby 1
|
%define withruby 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -486,6 +485,7 @@ mv -f os_unix.h.save os_unix.h
|
|||||||
%endif
|
%endif
|
||||||
%if "%{withperl}" == "1"
|
%if "%{withperl}" == "1"
|
||||||
--enable-perlinterp=dynamic \
|
--enable-perlinterp=dynamic \
|
||||||
|
--with-xsubpp=$(which xsubpp) \
|
||||||
%else
|
%else
|
||||||
--disable-perlinterp \
|
--disable-perlinterp \
|
||||||
%endif
|
%endif
|
||||||
@ -534,6 +534,7 @@ make clean
|
|||||||
%endif
|
%endif
|
||||||
%if "%{withperl}" == "1"
|
%if "%{withperl}" == "1"
|
||||||
--enable-perlinterp=dynamic \
|
--enable-perlinterp=dynamic \
|
||||||
|
--with-xsubpp=$(which xsubpp) \
|
||||||
%else
|
%else
|
||||||
--disable-perlinterp \
|
--disable-perlinterp \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user