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-----