Skip Menu |

This queue is for tickets about the Patch-SREZIC-Tk CPAN distribution.

Report information
The Basics
Id: 34518
Status: rejected
Priority: 0/
Queue: Patch-SREZIC-Tk

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 800_024.012
Fixed in: (no value)



Subject: PREREQ_PM in Makefile.PL Should Be Set to 0, Not undef
Dear Slaven Rezić, Hi. This is imacat from Taiwan. I found that you have set the PREREQ_PM to "Tk => undef" instead of "Tk => 0" in the Makefile.PL of your Patch-SREZIC-Tk-800_024.012. According to the illustration of PREREQ_PM in the ExtUtils::MakeMaker POD document: http://search.cpan.org/perldoc?ExtUtils::MakeMaker PREREQ_PM Hashref: Names of modules that need to be available to run this extension (e.g. Fcntl for SDBM_File) are the keys of the hash and the desired version is the value. If the required version number is 0, we only check if any version is installed already. You should use "Tk => 0" instead. Some of the CPANPLUS operation fails for this. I tried to make a simple patch in the hope that it helps Please tell me if you need any more information, or if I could be of any help. Thank you.
Subject: Patch-SREZIC-Tk-800_023.010-prereq_pm.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Patch-SREZIC-Tk-800_023.010.orig/Makefile.PL Patch-SREZIC-Tk-800_023.010/Makefile.PL - --- Patch-SREZIC-Tk-800_023.010.orig/Makefile.PL 2002-03-03 04:19:48.000000000 +0800 +++ Patch-SREZIC-Tk-800_023.010/Makefile.PL 2008-03-29 15:15:07.000000000 +0800 @@ -20,7 +20,7 @@ 'NAME' => 'Patch::SREZIC::Tk', 'VERSION_FROM' => 'Tk.pm', 'PMLIBDIRS' => ['Tk'], - - 'PREREQ_PM' => { Tk => undef }, + 'PREREQ_PM' => { Tk => 0 }, 'dist' => {'POSTOP'=>'-$(CHMOD) 644 $(DISTVNAME).tar$(SUFFIX)'}, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkft7I0ACgkQi9gubzC5S1y0HQCfUN2CP363iTTOq+x4lZzJrhIk TAQAnjED3uoUDGDCdDu7hVwa2yZHrOD3 =CqBB -----END PGP SIGNATURE-----
Hello imacat, Patch-SREZIC-Tk was just a transient package to collect all the patches between Tk 800.024 and 800.025 and made it immediately usable for users of Tk 800.024 (Tk releases were very rare so I decided to create this distribution). Now Tk 800.025 and even 804.028 is available the whole package is useless. I should probably remove it completely from CPAN. Regards, Slaven