View | Details | Raw Unified | Return to bug 3822
Collapse All | Expand All

(-)Makefile.PL (-1 / +55 lines)
Lines 302-314 Link Here
302
  warn $error;
302
  warn $error;
303
}
303
}
304
304
305
my $check_cpan_p = 0;
305
306
307
eval "use MIME::Base64;";
308
if ($@) {
309
  $check_cpan_p = 1;
310
  print "\a",<<'MSG';
311
  *** Note:
312
      The optional MIME::Base64 module is not installed.  This module is highly
313
      recommended to increase the speed with which Base64 encoded messages/mail
314
      parts are decoded.
315
316
MSG
317
  sleep 2;
318
}
319
320
eval "use DB_File;";
321
if ($@) {
322
  $check_cpan_p = 1;
323
  print "\a",<<'MSG';
324
  *** Note:
325
      The optional DB_File module is not installed.  DB_File is used to store data
326
      on-disk for some SpamAssassin subsystems (Auto-Whitelist, Bayes, Hashcash, etc).
327
328
MSG
329
  sleep 2;
330
}
331
332
eval "use Net::DNS;";
333
if ($@) {
334
  $check_cpan_p = 1;
335
  print "\a",<<'MSG';
336
  *** Note:
337
      The optional Net::DNS module is not installed.  The Net::DNS module is
338
      used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
339
      to perform MX checks, and is also used when manually reporting spam to
340
      SpamCop.
341
342
MSG
343
  sleep 2;
344
}
345
346
if ($check_cpan_p) {
347
    print <<'MSG';
348
Optional modules are available from any CPAN mirror, in particular
349
    http://search.cpan.org/
350
    http://www.perl.com/CPAN/modules/by-module
351
    http://www.perl.org/CPAN/modules/by-module
352
    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
353
354
Once installed there is no reason to re-install SpamAssassin, they will be
355
use automatically.
356
357
MSG
358
    sleep 4;
359
}
360
306
# All the $(*MAN1*) stuff is empty/zero if Perl was Configured with -Dman1dir=none
361
# All the $(*MAN1*) stuff is empty/zero if Perl was Configured with -Dman1dir=none
307
unless($Config{installman1dir}) {
362
unless($Config{installman1dir}) {
308
  delete $makefile{MAN1PODS};
363
  delete $makefile{MAN1PODS};
309
}
364
}
310
365
311
312
# Windows platforms need some adjustments
366
# Windows platforms need some adjustments
313
if (RUNNING_ON_WINDOWS) {
367
if (RUNNING_ON_WINDOWS) {
314
  # Don't build spamd
368
  # Don't build spamd

Return to bug 3822