Fwd: cpan2port

Ryan Schmidt ryandesign at macports.org
Sat Mar 28 19:01:28 PDT 2009


Begin forwarded message:

> From: Marc Chantreux <khatar at phear.org>
> Date: March 28, 2009 11:06:03 CDT
> To: Ryan Schmidt <ryandesign at macports.org>
> Subject: Re: cpan2port
>
> On Sat, Mar 28, 2009 at 04:58:41AM -0500, Ryan Schmidt wrote:
>> Thanks. It builds, so I added it to the ports tree.
>
> cool :)
>
>> $ cpan2port -r Mac::InternetConfig
>> Unknown option: r
>> Died at cpan2port line 270
>> $
>
> outch ... deprecated doc :( i'm sorry about it: i released cpan2port
> really fast because i thought that an almost working program is better
> than nothing but there is a lot of work to clean it.
>
>> (Line 270: "getopts('vtf:',\%opt) or die;")
>>
>> Further down in the manual, in the section "Flags tell to  
>> cpan2port what
>> to do", it describes the flags "v", "t" and "f", but not the "r"  
>> from the
>> examples.
>
> r was a early t ... it disapeared.
>
>> $ cpan2port -t Mac::InternetConfig
>> Always commit changes to config variables to disk? [no] ^C
>
> yes ... that's the first question of the cpan config: cpan2port relies
> on an already configured cpan to download packages and extract
> informations.
>
> It does not install anything afaik ... but you must be aware about the
> automatic depedence resolution: it have to be more tested.
>
>> CPAN's setup script. Is there a way to use cpan2port without  
>> having to
>> deal with CPAN's interrogation?
>
> no: cpan2port needs a complete and ready to use cpan client.
>
> regards
>
> marc



More information about the macports-dev mailing list