Skip to content

Question: Versions of Perl newer than build.me #81

@cookiemonsteruk

Description

@cookiemonsteruk

Hi again.
Currently binary build fails when running build.me script.
This is on FreeBSD 11.3 which has only Perl from 5.28 onwards.
I think it is because the perl check only goes to 5.26:
From line # 453

Path to Perl 5.26

if [ -x "/usr/bin/perl5.26.0" ]; then
PERL_526=/usr/bin/perl5.26.0
fi

if [ $PERL_526 ]; then
PERL_BIN=$PERL_526
PERL_MINOR_VER=26
fi

Would it be a bad idea for me to add a new block for 5.28 so it passes the check and attempt to build for this version by adding:

Path to Perl 5.28

if [ -x "/usr/bin/perl5.28.0" ]; then
PERL_528=/usr/bin/perl5.28.0
fi

if [ $PERL_528 ]; then
PERL_BIN=$PERL_528
PERL_MINOR_VER=28
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions