Skip Menu |

This queue is for tickets about the Module-ScanDeps CPAN distribution.

Report information
The Basics
Id: 28005
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: Nobody in particular
Requestors: unobe@cpan.org (no email address)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.75
Fixed in: (no value)



Subject: Tcl::Tk doesn't have Tk dependency
Module::ScanDeps includes Tk as a dependency when use'ing Tcl::Tk, which is wrong. Attached is a patch.
Subject: Tcl-Tk.patch
--- ScanDeps.pm.orig 2007-07-05 22:51:21.000000000 -0700 +++ ScanDeps.pm 2007-07-05 22:52:58.000000000 -0700 @@ -548,6 +548,8 @@ $pm = 'CGI/Apache.pm' if /^Apache(?:\.pm)$/; + next if $file =~ /Tcl/ and $pm =~ /^tk/; + add_deps( used_by => $key, rv => $args->{rv},
Patch applied with slight cosmetic changes. (Merging with the Term::ReadLine special case which also doesn't depend on Tk!) Thanks! Steffen