Beta 4.15-12

Tony Finch dot at DOTAT.AT
Thu May 1 13:21:13 IST 2003


Mariano Absatz <mailscanner at LISTS.COM.AR> wrote:
>This should apply nicely to 4.15-13 and work with any version of Perl5...
>
>*** SA.pm.old   Wed Apr 30 17:34:05 2003
>--- SA.pm       Wed Apr 30 17:46:51 2003
>***************
>*** 92,98 ****
>        # for finding the SpamAssassin libraries
>        # Use unshift rather than push so that their given location is
>        # always searched *first* and not last in the include path.
>!       unshift @INC, "$val/lib/perl5/site_perl/$PERL_VERSION";
>      }
>      # Now we have the path built, try to find the SpamAssassin modules
>      MailScanner::Log::DieLog("SpamAssassin installation could not be found")
>--- 92,99 ----
>        # for finding the SpamAssassin libraries
>        # Use unshift rather than push so that their given location is
>        # always searched *first* and not last in the include path.
>!       my $perl_vers =3D $PERL_VERSION < 5.006 ? $PERL_VERSION : sprintf("%vd",$PERL_VERSION);
>!       unshift @INC, "$val/lib/perl5/site_perl/$perl_vers";
>      }
>      # Now we have the path built, try to find the SpamAssassin modules
>      MailScanner::Log::DieLog("SpamAssassin installation could not be found")

Yes, that looks like about the best that can be done. It's very irritating
that it's so incompatible.

Tony.
--
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
FITZROY SOLE: VARIABLE 4 IN SOLE AT FIRST, OTHERWISE CYCLONIC BECOMING
WESTERLY 6 TO GALE 8, OCCASIONALLY SEVERE GALE 9, DECREASING 5 IN WEST. RAIN
OR SHOWERS. MODERATE OR GOOD.



More information about the MailScanner mailing list