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.

I may have time to produce a patch for this over the weekend, but if 
someone who could actually commit it wants to go first ...


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

Reply via email to