p5-Mail-SpamAssassin-2.62 fails with 4.9-STABLE base Perl.
Scott McWhirter
scott-freebsd-perl at kungfuftr.com
Tue Jan 20 10:59:22 PST 2004
On Tue, Jan 20, 2004 at 01:10:37PM -0500, Paul Mather wrote:
> I just portupgraded my installed (working) mail/p5-Mail-SpamAssassin
> port today to the latest version (2.61->2.62) and it appears to have
> broken in the process. Does SpamAssassin no longer work with the base
> Perl that is part of 4.9-STABLE?
>
> Here is what I get when I try to run spamassassin:
>
> gromit# spamassassin --version
> Can't use subscript on split at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm line 100, near "1]"
> gromit#
I think it's a bug in spamassassin actually...
try this in line 100:
- push(@EXTRA_VERSION, ( 'r' . qw{$LastChangedRevision: 6141 $ updated by SVN}[1] ));
+ push(@EXTRA_VERSION, ( 'r' . (qw{$LastChangedRevision: 6141 $ updated by SVN})[1] ));
I would try to test, but don't have access to that particular version of
perl.
--
-Scott McWhirter- | -kungfuftr-
More information about the freebsd-perl
mailing list