File: disable-compiler-check.patch

package info (click to toggle)
libmoose-perl 2.4000-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,408 kB
  • sloc: perl: 21,275; ansic: 291; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Disable compiler check.
 This is not needed in a Debian build environment, and more importantly,
 it breaks cross-builds.
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2019-11-24

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -8,9 +8,6 @@
 
 # Secondary compile testing via ExtUtils::HasCompiler
 use lib 'inc';
-use ExtUtils::HasCompiler 0.014 'can_compile_loadable_object';
-die 'This distribution requires a working compiler'
-    unless can_compile_loadable_object(quiet => 1);
 
 use ExtUtils::MakeMaker;
 check_conflicts();