Looking for a portfile review before submitting (rbldnsd)

Bryan Blackburn blb at macports.org
Wed Jun 10 19:22:13 PDT 2009


On Wed, Jun 10, 2009 at 07:13:46PM -0700, Scott Haneda said:
> Like this?
> worksrcdir          ${name}_${version}

No, when you set distname, worksrcdir takes on the same value, which is this
case appears to be wrong (the distname uses an underscore, but the extracted
directory uses a dash).  So if you keep your old distname (remove distfiles
and extract.suffix), then add

worksrcdir   ${name}-${version}

it should see the right dir.  Unfortunately some authors like to vary naming
like this...

Bryan


>
> I did, no change.
>
> If I do this:
> distfiles           ${name}_${version}${extract.suffix}
> extract.suffix      .tar.tgz
>
> Works fine, doing this, fails:
> distname            ${name}_${version}
>
> I think I should just go back to my original method, though it may be  
> messy.  I will give it one more go to understand why sitname is not  
> enough.
>
> On Jun 10, 2009, at 7:07 PM, Toby Peterson wrote:
>
>> Looks like you just need to set worksrcdir
>>
>> - Toby
>
> -- 
> Scott * If you contact me off list replace talklists@ with scott@ *
>


More information about the macports-dev mailing list