]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - add dependencies for mozreview/ubuntu
authorDylan William Hardison <dylan@hardison.net>
Wed, 27 Sep 2017 13:06:11 +0000 (09:06 -0400)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2017 13:06:11 +0000 (09:06 -0400)
Makefile.PL

index 33319ce92c9cc1faead3f889c596b35acef60933..fc42b32dadabafa01e113813ed2c21237a814cfb 100755 (executable)
@@ -84,6 +84,18 @@ if ( $^O eq 'MSWin32' ) {
     $requires{'DateTime::TimeZone::Local::Win32'} = '1.64';
 }
 
+# for some reason, we need these on ubuntu.
+if ($^O eq 'linux' && -f '/etc/debian_version') {
+    my @extra = qw(
+        Linux::Pid
+        Test::Pod::Coverage
+        Pod::Coverage::TrustPod
+        Test::CPAN::Meta
+        Test::Pod
+    );
+    $requires{$_} = 0 for @extra;
+}
+
 my %optional_features = (
     smtp_auth => {
         prereqs => { runtime => { requires => { 'Authen::SASL' => 0 } } },