Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 18:59:25 +0000
From:      Scott McWhirter <scott-freebsd-perl@kungfuftr.com>
To:        freebsd-perl@freebsd.org
Subject:   Re: p5-Mail-SpamAssassin-2.62 fails with 4.9-STABLE base Perl.
Message-ID:  <20040120185925.GA53852@jadis.narnia.org.uk>
In-Reply-To: <20040120181037.GA38293@gromit.dlib.vt.edu>
References:  <20040120181037.GA38293@gromit.dlib.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040120185925.GA53852>