#37808: RFE: Add a "minor" variable to the perl portgroup --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:3 ryandesign@…]:
I can't explain right now why that problem is happening to you with your cpan2port port, but I have a feeling the solution isn't just to create that directory.
Note that the period is not a special character in variable names. So we have a variable called "perl5.major" and you're asking to create variable called "perl5.major.minor" (not just "minor").
Oh, I didn't realize that. I thought something C#-like was going on...
If there is to be a port for cpan2port (which is a good idea) it should just be called cpan2port. We do not need versions of cpan2port for each perl version, because cpan2port is not a perl module; it's just a program that happens to use perl.
I glanced at the cpan2port script for a few seconds and didn't immediately see a reason why it would need to use the perl5 portgroup to be installed. Am I missing something?
No, it probably doesn't need the perl5 portgroup... I originally was going to try to do it without, but no one on irc had any ideas of a perl port that does'''n't''' use the perl5 portgroup that I could use as an example to work from, so instead I just used `portfile-gen` with the `-g perl5` flag set to give me a starting spot, as that seemed easier at the time... -- Ticket URL: <https://trac.macports.org/ticket/37808#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS