diff options
author | adrianp <adrianp> | 2005-04-23 17:38:57 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2005-04-23 17:38:57 +0000 |
commit | 7496a069a93a7b7e65361d01c2e308b8a3366f85 (patch) | |
tree | 196a39e233f17f70a9d3f7a0df9d2dee8aa8524f /mail/p5-Mail-Box/patches | |
parent | 3c5737a52feeb25e819677f042b885fa74a54203 (diff) | |
download | pkgsrc-7496a069a93a7b7e65361d01c2e308b8a3366f85.tar.gz |
MailBox is a library for the Perl programming language, designed to handle
various kinds of e-mail. It can be used to construct messages, send them,
access various kinds of message folders, filter spam and virussen, and so on.
The MailBox distribution is quite large, with about 140 related modules.
Diffstat (limited to 'mail/p5-Mail-Box/patches')
-rw-r--r-- | mail/p5-Mail-Box/patches/patch-aa | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/mail/p5-Mail-Box/patches/patch-aa b/mail/p5-Mail-Box/patches/patch-aa new file mode 100644 index 00000000000..c51aad1cd52 --- /dev/null +++ b/mail/p5-Mail-Box/patches/patch-aa @@ -0,0 +1,85 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $ + +--- Makefile.PL.orig 2005-04-23 00:12:41.000000000 +0100 ++++ Makefile.PL +@@ -161,78 +161,8 @@ FIX + exit 1; + } + +-print <<'OPTIONAL'; +- +-* Now, let me ask you whether you want some optional modules to be +-* installed as well. You can always install these modules later, by +-* hand, without a need to re-install MailBox. +-* +-OPTIONAL +- +-foreach my $optional (@optional) +-{ my ($module, $version, %args) = @$optional; +- my $requirements = $args{requires} || sub {1}; +- next unless $requirements->(); +- +- print "\n"; +- eval "require $module"; +- if($@) +- { if($@ =~ m/^Can't locate /) +- { print "**** Optional $module is not installed\n" } +- else { print "**** Optional $module compilation failed:\n$@\n" } +- } +- elsif($module->VERSION < $version ) +- { print "**** Optional $module too old: requires $version but is ", +- $module->VERSION,"\n"; +- } +- else +- { my $v = $module->VERSION; +- my $r = $v eq $version ? '' +- : $version == 0 ? " (any version will do)" +- : " (at least $version required)"; +- +- print "**** Found optional $module version $v$r\n"; +- next; +- } +- +- my $reason = $args{reason}; +- $reason =~ s/^/ /gm; +- $reason =~ s/\A /Use:/; +- print $reason; +- +- if(my $warn = $args{warning}) +- { $warn =~ s/^/ /gm; +- $warn =~ s/\A /WARN/; +- print $warn; +- } +- +- my $install = $default_install_answer; +- my $key = prompt "Do you want to install $module? yes/no/all", $install; +- +- if($key eq 'a') +- { $default_install_answer = 'a'; +- $install = 'y'; +- } +- else +- { $install = $key eq 'y' ? 'y' : 'n'; +- } +- +- next unless $install eq 'y'; +- +- my $distr = $args{distr} || $module; +- +- $prereq{$distr} = $version; +- print " Added $distr version $version to the requirements\n"; +-} +- +-my $tests = prompt "Do you want to run the (large set of) tests? yes/no", "yes"; +-if($tests =~ m/n/i) +-{ open F, ">", "skiptests"; +- close F; +-} +-else +-{ unlink "skiptests"; +-} ++open F, ">", "skiptests"; ++close F; + + print <<'MAKEFILE'; + |