tech-pkg archive

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

Re: Perl package problem



On Tue, 2 Feb 2010, Matthias Scheler wrote:
> On Tue, Feb 02, 2010 at 11:08:13PM +1300, Steven Drake wrote:
> > On Sat, 30 Jan 2010, Matthias Scheler wrote:
> > > when I update Perl package via "pkg_add -u" under Mac OS X Snow Leopard
> > > I frequently get messages like this:
> > > 
> > > tron@excalibur:/usr/pkgsrc/converters/p5-MIME-Base64>sudo pkg_add -u 
> > > /share/archive/Darwin/packages/10.2.0/i386/All/p5-MIME-Base64-3.09.tgz
> > > Password:
> > > mausage: /usr/pkg/lib/perl5/bin/perllink [-fnv] [-p prefix] add|delete 
> > > [packlist ...]
> > 
> > It's a bug in the files lang/perl5/files/{de,}install.tmpl.
> 
> Do you also know what the bug is?

BTW if your going to edit the above files I think theres another bug,
after reading the perllink manpage I don't think the perlink command
should be run if ${PERL5_PACKLIST} is an empty string (or if the file it
points to don't exist) with the exeption of perl its self.

You could try the following above the main perllink command:
@PERL5_COMMENT@${TEST} -n "${PERL5_PACKLIST}" -a -f "${PERL5_PACKLIST}" &&

The @PERL5_COMMENT@ comments out the test for the perl pkg.

-- 
Steven
"won't be big" 
        -- Linus Torvalds, 25 Aug 1991 - in his first post about linux.


Home | Main Index | Thread Index | Old Index