summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-07-28 16:51:00 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-07-28 16:51:00 +0200
commit2d96c58a0c746df107b4ca85255b360481c68e89 (patch)
tree8ff220fb354461c3087a572f565d46aa36b316c8 /Bugzilla/Install
parent3331c1bafae2fcaf511db95a0e2b79ab65e25bfe (diff)
downloadbugzilla-2d96c58a0c746df107b4ca85255b360481c68e89.tar.gz
bugzilla-2d96c58a0c746df107b4ca85255b360481c68e89.tar.xz
Bug 1174736: The cpanfile generated by checksetup results in an unsuccessful mod_perl install
r=emorley,a=simon
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Requirements.pm1
1 files changed, 1 insertions, 0 deletions
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