Description: Trigger build failure when libxml2 is not found Origin: vendor Bug: https://bugs.debian.org/684070 Forwarded: not-needed Author: Alessandro Ghedini Reviewed-by: gregor herrmann 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"