On Thu, 7 Mar 2002, Bart Schaefer wrote:

> On Thu, 7 Mar 2002, Timothy Demarest wrote:
>
> > Additionally, we have a goofy perl install with the prefix of [...] Is
> > there a way that SpamAssassin could use the perl prefix when searching
> > in addition to the hardcoded defaults?
>
> lib/Mail/SpamAssassin.pm should start out as lib/Mail/SpamAssassin.pm.PL
> and be processed to generate the .pm file with $Config{prefix} from the
> Config package pasted in.  The same thing should really be done with the
> assorted .raw files instead of running fixpath.pl on them.
>
> The Makefile.PL should contain
>
>   WriteMakefile(...,
>                 PL_FILES => {'spamassassin.PL'  => 'spamassassin',
>                              'lib/Mail/SpamAssassin.pm.PL' =>
>                                'lib/Mail/SpamAssassin.pm',
>                              ...},
>                 ...);
>
> And then all of this would Just Work Right when installing with CPAN.

Huh??? What is the problem there? What on earth do you want to
pre-generate the .pm files from a .PL file for?

fixpath.pl should die though, and we should be using EXE_FILES. Not sure
why we have this horrible fixpath.pl - I'm going to kill that ASAP.

-- 
Matt.
<:->get a SMart net</:->


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to