pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: security/caff wants Net/IDN/Encode



Makoto Fujiwara <makoto%ki.nu@localhost> writes:

> I've packaged security/caff and tried to run it.
> Getting:
>   -----------
>   Can't locate Net/IDN/Encode.pm in @INC (you may need to
>   install the Net::IDN::Encode module) (@INC contains:
>   /usr/pkg/lib/perl5/site_perl/5.20.0/x86_64-netbsd-thread-multi
>   /usr/pkg/lib/perl5/site_perl/5.20.0
>   /usr/pkg/lib/perl5/vendor_perl/5.20.0/x86_64-netbsd-thread-multi
>   /usr/pkg/lib/perl5/vendor_perl/5.20.0
>   /usr/pkg/lib/perl5/5.20.0/x86_64-netbsd-thread-multi
>   /usr/pkg/lib/perl5/5.20.0 .) at /usr/pkg/bin/caff line 378.
>   BEGIN failed--compilation aborted at /usr/pkg/bin/caff line  378.
>   -----------
>
> After I have packaged wip/p5-Net-IDN-Encode, and make package-install,
> caff started to work.
>
> What am I missing ?
>
> By the way, in caff code, following line found:
> % cat -n /usr/pkg/bin/caff | sed -n 376,379p
>    376  use Encode ();
>    377  use I18N::Langinfo qw{langinfo};
>    378  use Net::IDN::Encode ();
>    379  use Fcntl;

It looks like caff really depends on p5-Net-IDN-Encode, and that doesn't
seem bizarre (for some random program to need some perl module).

So I guess your question is "Did caff ever work before, and is there any
reason not to just add the dependency."   I would guess that either it
never did, or that our perl  packages moved things around, and now it
doesn't, and that either way moving the new package to real pkgsrc and
adding a dependency is in order.

Attachment: pgpxTNPDOvWZU.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index