Skip Menu |

This queue is for tickets about the MailFolder CPAN distribution.

Report information
The Basics
Id: 117042
Status: new
Priority: 0/
Queue: MailFolder

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

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



Subject: Overly generic "NAME" in Makefile.PL blocks install
Date: Thu, 18 Aug 2016 11:44:13 -0400
To: bug-MailFolder [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
in MailFolder-0.07 Makefile.PL, there is a line             NAME     => 'Mail', But this module is "Mail::Folder" not "Mail" itself. The MakeMaker docs say:            "NAME" must be a valid Perl package name and it must have an          associated ".pm" file.     This package is not even a suite of many different Mail::* modules, where a single generic entry might make conceptual sense (even if not "by the docs")--the MailTools dist does that. And that's a conflict...two different distros cannot both have the same NAME because this attribute is used to generate a the filename of the .packlist file that gets installed, and package-manager systems rightly refuse to let one package overwrite a file that is supplied by another. See the hackery needed for example at:   http://svnweb.freebsd.org/ports/head/mail/p5-Mail-Folder/Makefile?r1=107125&r2=110505&pathrev=364535   where FULLEXT is one of the values derived from Makefile.PL's NAME attribute. Instead, Makefile.PL should just have:             NAME     => 'Mail::Folder',   dan -- Daniel Macks dmacks@netspace.org
Subject: Re: [rt.cpan.org #117042] AutoReply: Overly generic "NAME" in Makefile.PL blocks install
Date: Thu, 18 Aug 2016 12:13:33 -0400
To: bug-MailFolder [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
To fully appease MakeMaker as easily as possible, that change to NAME also requires putting the Mail/ dir (which contains the actual modules) into a lib/ dir in the dist.   dan -- Daniel Macks dmacks@netspace.org