aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubicon <5662-rubicon@users.gitlab.alpinelinux.org>2022-07-11 21:17:54 +0800
committeralice <alice@ayaya.dev>2022-07-11 13:39:53 +0000
commit67e65c79a20806852f64cd7ab6451e0ecfccf1a8 (patch)
tree952677e3e179c30e3458d24b25936cca50fe84ac
parentbe68bea3cd819f5b397a8832987fa71ab174d89d (diff)
downloadaports-67e65c79a20806852f64cd7ab6451e0ecfccf1a8.tar.gz
aports-67e65c79a20806852f64cd7ab6451e0ecfccf1a8.tar.bz2
aports-67e65c79a20806852f64cd7ab6451e0ecfccf1a8.tar.xz
main/perl-lwp-protocol-https: add install_if for perl-app-cpanminus
Fixes #14003
-rw-r--r--main/perl-lwp-protocol-https/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/perl-lwp-protocol-https/APKBUILD b/main/perl-lwp-protocol-https/APKBUILD
index 3ea42d3776..2256e1eb9c 100644
--- a/main/perl-lwp-protocol-https/APKBUILD
+++ b/main/perl-lwp-protocol-https/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-lwp-protocol-https
_pkgreal=LWP-Protocol-https
pkgver=6.10
-pkgrel=1
+pkgrel=2
pkgdesc="Provide https support for LWP::UserAgent"
url="https://metacpan.org/release/LWP-Protocol-https/"
arch="noarch"
@@ -15,6 +15,10 @@ subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
+# cpanminus won't fallback on wget if perl-libwww is installed.
+# So, this is needed for cpanminus to use HTTPS by default.
+install_if="perl-libwww perl-app-cpanminus"
+
prepare() {
default_prepare
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor