Ticket #206: Build.PL.patch

File Build.PL.patch, 1.2 KB (added by danielpacker, 14 years ago)

patch to fix Module::Build install for OpenGuides-0.59/Build.PL

  • OpenGuides-0.

    old new  
    263263my $build = OpenGuides::Build->new(
    264264    sign => 1,
    265265    dist_name => "OpenGuides",
     266    module_name => 'OpenGuides::Build',
    266267    dist_version_from => "wiki.cgi",
    267268    license => "perl",
    268269    requires => {
     
    314315$build->add_to_cleanup( "t/node.db" );
    315316
    316317# Tell OpenGuides::Build which additional scripts and templates to install.
    317 $build->{config}{__extra_scripts}     =
     318$build->config_data('__extra_scripts'    =>
    318319                      [ "wiki.conf", "preferences.cgi", "search.cgi",
    319                         "newpage.cgi" ];
    320 $build->{config}{__templates}         = [
     320                        "newpage.cgi" ]);
     321$build->config_data('__templates'       => [
    321322                      "admin_home.tt",
    322323                      "admin_revert_user.tt",
    323324                      "backlink_results.tt",
     
    361362                      "search.tt",
    362363                      "userstats.tt",
    363364                      "wanted_pages.tt"
    364     ];
     365    ]);
    365366
    366367# Finally write the build script.
    367368$build->create_build_script;