summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ogness <adelielinux@ogness.net>2021-02-06 01:05:48 +0100
committerJohn Ogness <adelielinux@ogness.net>2021-02-06 01:09:54 +0100
commitad45974ccac8f119f8d1325d20fef144190ac7fb (patch)
tree037f44c373b418e7e470a4f62eeb76d19d7c32ba
parent481f7f9e0786aaed149bd4c4020d74e17640560c (diff)
downloadpackages-ad45974ccac8f119f8d1325d20fef144190ac7fb.tar.gz
packages-ad45974ccac8f119f8d1325d20fef144190ac7fb.tar.bz2
packages-ad45974ccac8f119f8d1325d20fef144190ac7fb.tar.xz
packages-ad45974ccac8f119f8d1325d20fef144190ac7fb.zip
system/perl: fix zlib-src removal
With commit e220d74d9f3d ("system/perl: bump to 5.26.2, modernize, remove dumbnes") an unnecessary "return 1" on sed failure was removed. However, the || was not removed. This led to the following line (removal of zlib-src) not being executed. Remove the trailing || to allow zlib-src removal. Signed-off-by: John Ogness <adelielinux@ogness.net>
-rw-r--r--system/perl/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD
index 7e23f0a82..726a2daa4 100644
--- a/system/perl/APKBUILD
+++ b/system/perl/APKBUILD
@@ -5,7 +5,7 @@
# Proxy-For: solar
pkgname=perl
pkgver=5.26.3
-pkgrel=1
+pkgrel=2
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url="https://www.perl.org/"
arch="all"
@@ -41,7 +41,7 @@ prepare() {
default_prepare
sed -e 's/less -R/less/g' \
-e 's/libswanted="\(.*\) nsl\(.*\)"/libswanted="\1\2"/g' \
- -i ./Configure ||
+ -i ./Configure
# Ensure that we never accidentally bundle zlib or bzip2
rm -rf cpan/Compress-Raw-Zlib/zlib-src