1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #1478 from ailin-nemui/buildperl

update perl requirement in install file
This commit is contained in:
ailin-nemui 2023-07-19 18:26:45 +00:00 committed by GitHub
commit 3f203dc382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ To compile Irssi you need:
- meson-0.53 build system with ninja-1.8 or greater - meson-0.53 build system with ninja-1.8 or greater
- glib-2.32 or greater - glib-2.32 or greater
- openssl (for ssl support) - openssl (for ssl support)
- perl-5.6 or greater (for Perl support) - perl-5.8 or greater (for building, and optionally Perl scripts)
- terminfo or ncurses (for text frontend) - terminfo or ncurses (for text frontend)
For most people, this should work just fine: For most people, this should work just fine:

View File

@ -402,7 +402,7 @@ int main()
else else
xsubpp_file_c = meson.get_cross_property('perl_xsubpp', UNSET) xsubpp_file_c = meson.get_cross_property('perl_xsubpp', UNSET)
if xsubpp_file_c == UNSET if xsubpp_file_c == UNSET
xsubpp_file_c = run_command(build_perl, '-MExtUtils::ParseXS', '-Eprint $INC{"ExtUtils/ParseXS.pm"} =~ s{ParseXS\\.pm$}{xsubpp}r', check : true).stdout() xsubpp_file_c = run_command(build_perl, '-MExtUtils::ParseXS', '-e($r = $INC{"ExtUtils/ParseXS.pm"}) =~ s{ParseXS\\.pm$}{xsubpp}; print $r', check : true).stdout()
endif endif
xsubpp = generator(build_perl, xsubpp = generator(build_perl,
output : '@BASENAME@.c', output : '@BASENAME@.c',