Good bye, Perl Expat binding!

This commit is contained in:
bubnikv 2017-02-27 00:38:30 +01:00
parent 9ea570ea4e
commit f0f550783f
7 changed files with 2 additions and 253 deletions

View file

@ -28,7 +28,6 @@ my %prereqs = qw(
);
my %recommends = qw(
Class::XSAccessor 0
XML::SAX::ExpatXS 0
Test::Harness 0
);
@ -125,15 +124,7 @@ EOF
if $module =~ /^(?:OpenGL|Test::Harness)$/;
push @cmd, "$module~$version";
if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') {
my $mingw = 'C:\dev\CitrusPerl\mingw64';
$mingw = 'C:\dev\CitrusPerl\mingw32' if !-d $mingw;
if (!-d $mingw) {
print "Could not find the MinGW directory at $mingw; skipping XML::SAX::ExpatXS (only needed for faster parsing of AMF files)\n";
} else {
push @cmd, sprintf('--configure-args="EXPATLIBPATH=%s\lib EXPATINCPATH=%s\include"', $mingw, $mingw);
}
}
my $res = system @cmd;
if ($res != 0) {
if (exists $prereqs{$module}) {