From 2d229cc587977270a8f13f11d4af155daab1c782 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 23 Feb 2004 18:01:31 +0000 Subject: - Update to 0.05 - Add a warning message to pkg-message that this port needs s threaded perl. PR: 63266 Submitted by: maintainer --- mail/p5-Mail-ClamAV/Makefile | 2 +- mail/p5-Mail-ClamAV/distinfo | 3 ++- mail/p5-Mail-ClamAV/files/patch-ClamAV.pm | 18 ++++++++++++++++++ mail/p5-Mail-ClamAV/pkg-message | 3 +++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 mail/p5-Mail-ClamAV/files/patch-ClamAV.pm (limited to 'mail/p5-Mail-ClamAV') diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile index 5f753c2cdefe..645c6edd5612 100644 --- a/mail/p5-Mail-ClamAV/Makefile +++ b/mail/p5-Mail-ClamAV/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Mail-ClamAV -PORTVERSION= 0.04 +PORTVERSION= 0.05 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail diff --git a/mail/p5-Mail-ClamAV/distinfo b/mail/p5-Mail-ClamAV/distinfo index fc8a7c8d8c73..5c7ad61b00cd 100644 --- a/mail/p5-Mail-ClamAV/distinfo +++ b/mail/p5-Mail-ClamAV/distinfo @@ -1 +1,2 @@ -MD5 (Mail-ClamAV-0.04.tar.gz) = f8b664f7b1c3903601e3aa8c9b64b683 +MD5 (Mail-ClamAV-0.05.tar.gz) = 6a942bc6362a8606f66234659981de59 +SIZE (Mail-ClamAV-0.05.tar.gz) = 16943 diff --git a/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm new file mode 100644 index 000000000000..44df1f38bede --- /dev/null +++ b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm @@ -0,0 +1,18 @@ +--- ../Mail-ClamAV-0.05.orig/ClamAV.pm Mon Feb 23 16:04:36 2004 ++++ ClamAV.pm Mon Feb 23 16:05:17 2004 +@@ -138,12 +138,9 @@ + VERSION => $VERSION, + PREFIX => 'clamav_perl_', + NAME => "Mail::ClamAV", +- LIBS => "-lclamav"; +-# removed on install +-BEGIN { +-require "./config.pl"; +-} +-# end removed on install ++ OPTIMIZE => '-g', ++ LIBS => " -lclamav"; ++ + use Inline C => <<'END_OF_C'; + #include + #include diff --git a/mail/p5-Mail-ClamAV/pkg-message b/mail/p5-Mail-ClamAV/pkg-message index db6af97aabb3..4fd869045499 100644 --- a/mail/p5-Mail-ClamAV/pkg-message +++ b/mail/p5-Mail-ClamAV/pkg-message @@ -1,5 +1,8 @@ ******************************************** +Please note that Mail::ClamAV requires +your perl to be build with threading. + Have a look at the documentation: man Mail::ClamAV -- cgit v1.2.3