Skip Menu |

This queue is for tickets about the CGI-FormBuilder CPAN distribution.

Report information
The Basics
Id: 39836
Status: rejected
Priority: 0/
Queue: CGI-FormBuilder

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.0501
Fixed in: (no value)



Subject: Important fix for Makefile.PL
CGI::FormBuilder dist should depend on Task::Weaken, other fixes. -- Alexandr Ciornii, http://chorny.net
Subject: Makefile.PL.patch
--- Makefile.PL.dist 2007-03-02 19:13:02.000000000 +0200 +++ Makefile.PL 2008-10-06 14:31:20.703125000 +0300 @@ -1,9 +1,10 @@ +use 5.006; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -use vars qw($real); +our $real; sub modcheck () { # check to see if our template modules are present, as they're optional @@ -50,10 +51,12 @@ WriteMakefile( NAME => 'CGI::FormBuilder', VERSION_FROM => 'lib/CGI/FormBuilder/Util.pm', # finds $VERSION - PREREQ_PM => { CGI => 0 }, + PREREQ_PM => { CGI => 0,'File::Spec'=>0,'Task::Weaken'=>0, }, + #Task::Weaken ensures that Scalar::Util has weaken support + #some OS has perl without Scalar::Util::weaken CONFIGURE => \&modcheck, - ($] >= 5.005 ? - (ABSTRACT_FROM => 'lib/CGI/FormBuilder.pod', # abstract from POD - AUTHOR => 'Nathan Wiger (nate@wiger.org)') : () - ), + ABSTRACT_FROM => 'lib/CGI/FormBuilder.pod', # abstract from POD + AUTHOR => 'Nathan Wiger (nate@wiger.org)', + ($ExtUtils::MakeMaker::VERSION ge '6.31'? + ('LICENSE' => 'perl', ) : ()), );
I appreciate this bug report - if this is still an issue, please re-file it at: https://github.com/formbuilder/formbuilder/issues