summaryrefslogtreecommitdiff
path: root/system/perl
diff options
context:
space:
mode:
authorKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 17:16:38 -0500
committerKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 17:16:38 -0500
commitc14c430431107bb85fc0ab71b7812bc6c9ee5bcd (patch)
treea48b50239afdd0892c8302fc8ddd8166fad59a0e /system/perl
parentfdd88d789014631e31b4fabfb1889e062ab5b81c (diff)
downloadpackages-c14c430431107bb85fc0ab71b7812bc6c9ee5bcd.tar.gz
packages-c14c430431107bb85fc0ab71b7812bc6c9ee5bcd.tar.bz2
packages-c14c430431107bb85fc0ab71b7812bc6c9ee5bcd.tar.xz
packages-c14c430431107bb85fc0ab71b7812bc6c9ee5bcd.zip
system/perl: upgrade provided Getopt::Long to 2.51
Diffstat (limited to 'system/perl')
-rw-r--r--system/perl/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD
index 59b425620..7e23f0a82 100644
--- a/system/perl/APKBUILD
+++ b/system/perl/APKBUILD
@@ -15,7 +15,9 @@ license="Artistic-1.0-Perl GPL-2.0"
depends=""
makedepends="bzip2-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-dev"
+# XXX - Remove Getopt::Long when upgrading to 5.32+
source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
+ https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-2.51.tar.gz
"
# secfixes:
@@ -46,6 +48,8 @@ prepare() {
rm -rf cpan/Compress-Raw-Bzip2/bzip2-src
sed -i '/\(bzip2\|zlib\)-src/d' MANIFEST
+ rm -rf cpan/Getopt-Long && mv "$srcdir"/Getopt-Long-2.51 cpan/Getopt-Long
+ rm cpan/Getopt-Long/Makefile.PL
}
build() {
@@ -112,4 +116,5 @@ dev() {
default_dev
}
-sha512sums="03914ed51163c998a6afa45610a13cf50124a2c68d291c344b0d52fa15c27fc5d5d4f5dc117516078a03dfd51250097b87c8d5e2b17c7858a4c8c536aecd05af perl-5.26.3.tar.gz"
+sha512sums="03914ed51163c998a6afa45610a13cf50124a2c68d291c344b0d52fa15c27fc5d5d4f5dc117516078a03dfd51250097b87c8d5e2b17c7858a4c8c536aecd05af perl-5.26.3.tar.gz
+e70b2c30f5f85d7bf387381782a22b55f76598e1b4e19102fbf463c4333e91090ad2da49965be6211821d4f7f109aa7e4153348a9142f38fdb1a39299c997c02 Getopt-Long-2.51.tar.gz"