diff --git a/build-scripts/install-dependencies b/build-scripts/install-dependencies index 8f97d8970..efaee1f5c 100755 --- a/build-scripts/install-dependencies +++ b/build-scripts/install-dependencies @@ -78,12 +78,14 @@ check_and_install_perl() PERL_EXTRA_FLAGS='-Ud_nexttoward' fi - wget http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz - [ `func_md5 perl-5.26.1.tar.gz` != "a7e5c531ee1719c53ec086656582ea86" ] \ + PERL_VERSION=5.40.0 + PERL_MD5=8da78b1f54b99e97954066d0aaad88bc + wget http://www.cpan.org/src/5.0/perl-${PERL_VERSION}.tar.gz + [ `func_md5 perl-${PERL_VERSION}.tar.gz` != "${PERL_MD5}" ] \ && fatal "perl checksum error" - gzip -dc perl-5.26.1.tar.gz | tar xf - - cd perl-5.26.1 - $PATCH -p1 < $BASEDIR/buildscripts/build-scripts/perl-488307ffa6.patch + gzip -dc perl-${PERL_VERSION}.tar.gz | tar xf - + cd perl-${PERL_VERSION} +# $PATCH -p1 < $BASEDIR/buildscripts/build-scripts/perl-488307ffa6.patch ./Configure -des -Dprefix=$HOME/perl-my -Dcc=gcc -Dmake=$MAKE \ $PERL_EXTRA_FLAGS $PERL_CFLAGS $PERL_LDFLAGS $PERL_LDDLFLAGS $MAKE