From 2d96c58a0c746df107b4ca85255b360481c68e89 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 28 Jul 2015 14:51:00 +0000 Subject: Bug 1174736: The cpanfile generated by checksetup results in an unsuccessful mod_perl install r=emorley,a=simon --- Bugzilla/Install/Requirements.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index b48487c31..9213d5058 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -890,6 +890,7 @@ sub export_cpanfile { $cpanfile .= "\n# Optional\n"; my %features; foreach my $module (@{ OPTIONAL_MODULES() }) { + next if $module->{package} eq 'mod_perl'; # Skip mod_perl since this would be installed by distro if (exists $module->{feature}) { foreach my $feature (@{ $module->{feature} }) { # cpanm requires that each feature only be defined in the cpanfile -- cgit v1.2.3-24-g4f1b