Another Perl 5.8.5 Temp.pm problem (mailscanner 4.32.5)

Jan-Peter Koopmann Jan-Peter.Koopmann at seceidos.de
Thu Aug 12 00:26:23 PDT 2004


On Wednesday, August 11, 2004 8:49 PM Mike Jakubik wrote:

> ===>   MailScanner-4.32.5 depends on file:
> /usr/local/lib/perl5/site_perl/5.8.5/File/Temp.pm - not found ===>   
> Verifying install for
> /usr/local/lib/perl5/site_perl/5.8.5/File/Temp.pm in
> /usr/ports/devel/p5-File-Temp ===>  p5-File-Temp-0.14_1 This module
> is already included in perl 5.8.x and later.. *** Error code 1 
> 
> Stop in /usr/ports/devel/p5-File-Temp.
> *** Error code 1
> 
> Stop in /usr/ports/mail/mailscanner.
> 
> ---
> Thanks.

Hi Mike,

Could you try this patch please?

diff -ruN --exclude=CVS
/server-root/ports/mail/mailscanner.orig/Makefile
/server-root/ports/mail/mailscanner/Makefile
--- /server-root/ports/mail/mailscanner.orig/Makefile    Sun Aug  8
19:16:18 2004
+++ /server-root/ports/mail/mailscanner/Makefile Thu Aug 12 09:24:17
2004
@@ -7,6 +7,7 @@
 
 PORTNAME=       MailScanner
 PORTVERSION=    4.32.5
+PORTREVISION=   1
 CATEGORIES=     mail
 MASTER_SITES=   http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
 DISTNAME=       ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -21,7 +22,6 @@
         ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \
 
${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Par
ser \
         ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
-        ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
 
${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex
\
         ${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
@@ -52,6 +52,11 @@
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=
${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
 RUN_DEPENDS+=
${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+RUN_DEPENDS+=
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 DOC_FILES=      INSTALL INSTALL.FreeBSD INSTALL.OpenBSD README


Kind regards,
  JP


More information about the freebsd-ports mailing list