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