Commit 2d96c58a authored by David Lawrence's avatar David Lawrence

Bug 1174736: The cpanfile generated by checksetup results in an unsuccessful mod_perl install

r=emorley,a=simon
parent 3331c1ba
...@@ -890,6 +890,7 @@ sub export_cpanfile { ...@@ -890,6 +890,7 @@ sub export_cpanfile {
$cpanfile .= "\n# Optional\n"; $cpanfile .= "\n# Optional\n";
my %features; my %features;
foreach my $module (@{ OPTIONAL_MODULES() }) { 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}) { if (exists $module->{feature}) {
foreach my $feature (@{ $module->{feature} }) { foreach my $feature (@{ $module->{feature} }) {
# cpanm requires that each feature only be defined in the cpanfile # cpanm requires that each feature only be defined in the cpanfile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment