1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/perl-app-cpm/no-darwin.patch
Celeste a61dfb7a41 community/perl-app-cpam: remove use of Darwin::InitObjC
not applicable to Linux, not going to add an OS-specific
Perl module that we can't use as a new aport
2025-05-31 04:52:40 +00:00

31 lines
876 B
Diff

Not applicable on Linux, saves having to add this module as a separate aport
--- a/META.json
+++ b/META.json
@@ -41,7 +41,6 @@
"CPAN::Meta::Requirements" : "2.130",
"CPAN::Meta::YAML" : "0",
"Command::Runner" : "0.100",
- "Darwin::InitObjC" : "0",
"ExtUtils::Install" : "2.20",
"ExtUtils::InstallPaths" : "0.002",
"File::Copy::Recursive" : "0",
--- a/lib/App/cpm/CLI.pm
+++ b/lib/App/cpm/CLI.pm
@@ -20,7 +20,6 @@ use CPAN::Meta;
use Command::Runner;
use Config;
use Cwd ();
-use Darwin::InitObjC;
use File::Copy ();
use File::Path ();
use File::Spec;
@@ -366,8 +365,6 @@ sub cmd_install {
sub install {
my ($self, $master, $worker, $num) = @_;
- Darwin::InitObjC::maybe_init();
-
my @task = $master->get_task;
Parallel::Pipes::App->run(
num => $num,