Browse Source

perl: update to 5.30.0

android-5
Leonid Plyushch 6 years ago
parent
commit
a547ae8e7d
  1. 9
      packages/perl/Cwd.pm.patch
  2. 11
      packages/perl/build.sh

9
packages/perl/Cwd.pm.patch

@ -13,12 +13,3 @@ diff -u -r ../perl-5.22.0/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm
) {
if( -x $try ) {
$pwd_cmd = $try;
@@ -198,7 +197,7 @@
if ($^O =~ /android/) {
# If targetsh is executable, then we're either a full
# perl, or a miniperl for a native build.
- if (-x $Config::Config{targetsh}) {
+ if (defined($Config::Config{targetsh}) && -x $Config::Config{targetsh}) {
$pwd_cmd = "$Config::Config{targetsh} -c pwd"
}
else {

11
packages/perl/build.sh

@ -1,11 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://www.perl.org/
TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language"
TERMUX_PKG_LICENSE="Artistic-License-2.0"
TERMUX_PKG_VERSION=(5.28.2
1.2.3)
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=(aa95456dddb3eb1cc5475fed4e08f91876bea71fb636fba6399054dfbabed6c7
84583a1bb5f3a2c64d13d031386c114382e5c62955c6f84a27cec8318536627c)
TERMUX_PKG_VERSION=(5.30.0
1.3)
TERMUX_PKG_SHA256=(851213c754d98ccff042caa40ba7a796b2cee88c5325f121be5cbb61bbf975f2
49edea1ea2cd6c5c47386ca71beda8d150c748835781354dbe7f75b1df27e703)
TERMUX_PKG_SRCURL=(http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz
https://github.com/arsv/perl-cross/releases/download/${TERMUX_PKG_VERSION[1]}/perl-cross-${TERMUX_PKG_VERSION[1]}.tar.gz)
TERMUX_PKG_BUILD_IN_SRC="yes"
@ -51,7 +50,7 @@ termux_step_configure() {
-Dsysroot=$TERMUX_STANDALONE_TOOLCHAIN/sysroot \
-Dprefix=$TERMUX_PREFIX \
-Dsh=$TERMUX_PREFIX/bin/sh \
-Dcc=$ORIG_CC \
-Dcc="$ORIG_CC" \
-Duseshrplib
}

Loading…
Cancel
Save