perlPackages.XMLParser: update patch

This commit is contained in:
volth 2020-06-20 17:42:56 +00:00
parent e0af42b598
commit efc70eb6d7

View File

@ -16,28 +16,30 @@ diff --git a/Makefile.PL b/Makefile.PL
index 505d1df..fc38b76 100644 index 505d1df..fc38b76 100644
--- a/Makefile.PL --- a/Makefile.PL
+++ b/Makefile.PL +++ b/Makefile.PL
@@ -29,12 +29,17 @@ foreach (@ARGV) { @@ -28,12 +28,18 @@ foreach (@ARGV) {
@ARGV = @replacement_args; @ARGV = @replacement_args;
unless ( unless (
- check_lib( # fill in what you prompted the user for here - check_lib( # fill in what you prompted the user for here
- lib => [qw(expat)], - lib => [qw(expat)],
- header => ['expat.h'], - header => ['expat.h'],
- incpath => $expat_incpath, - incpath => $expat_incpath,
- ( $expat_libpath ? ( libpath => $expat_libpath ) : () ), - ($expat_libpath?
- ) - (libpath => $expat_libpath):()),
+ #check_lib( # fill in what you prompted the user for here - )) {
+ # lib => [qw(expat)], + #check_lib( # fill in what you prompted the user for here
+ # header => ['expat.h'], + # lib => [qw(expat)],
+ # incpath => $expat_incpath, + # header => ['expat.h'],
+ # ( $expat_libpath ? ( libpath => $expat_libpath ) : () ), + # incpath => $expat_incpath,
+ #) + # ($expat_libpath?
+ # The check_lib implementation fails horribly with cross-compilation. + # (libpath => $expat_libpath):()),
+ # We are giving known good paths to expat. + #)
+ # And in all cases, the previous behaviour of not actually failing + # The check_lib implementation fails horribly with cross-compilation.
+ # seemed to work just fine :/. + # We are giving known good paths to expat.
+ false + # And in all cases, the previous behaviour of not actually failing
) { + # seemed to work just fine :/.
+ false
+ ) {
warn <<'Expat_Not_Installed;'; warn <<'Expat_Not_Installed;';
-- --