1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Trigger build failure when libxml2 is not found
Origin: vendor
Bug: https://bugs.debian.org/684070
Forwarded: not-needed
Author: Alessandro Ghedini <ghedo@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-06-23
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -223,7 +223,7 @@
$libxml2_version = $1;
}
# 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors)
- exit 0 if !$FORCE and $libxml2_version ne "2.9.4";
+ exit 1 if !$FORCE and $libxml2_version ne "2.9.4";
}
if ( $@ =~ /^UNTESTED (\S*)/ ) {
warn "Note: libxml2 $1 was not tested with this XML::LibXML version.\n"
|