The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CPANPLUS::Dist::Slackware::Plugin::YAML::LibYAML - Patch YAML::LibYAML if necessary

VERSION

version 1.014

SYNOPSIS

    $is_available = $plugin->available($dist);
    $success = $plugin->pre_prepare($dist);

DESCRIPTION

If YAML::LibYAML is built a second time the build fails since LibYAML/Makefile.PL adds LibYAML.o twice to the list of object files. Reported as bug #74238 at http://rt.cpan.org/. Compiling LibYAML/perl_libyaml.c with -Werror=format-security fails. Reported as bug #46507.

SUBROUTINES/METHODS

$plugin->available($dist)

Returns true if this plugin applies to the given Perl distribution.

$plugin->pre_prepare($dist)

Remove LibYAML/LibYAML.c and patch LibYAML/perl_libyaml.c.

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

None.

DEPENDENCIES

Requires the module File::Spec.

INCOMPATIBILITIES

None known.

SEE ALSO

CPANPLUS::Dist::Slackware

AUTHOR

Andreas Voegele <voegelas@cpan.org>

BUGS AND LIMITATIONS

Please report any bugs to bug-cpanplus-dist-slackware at rt.cpan.org, or through the web interface at http://rt.cpan.org/.

LICENSE AND COPYRIGHT

Copyright 2012, 2013 Andreas Voegele

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/ for more information.