ports/72292: ports/security/smtpscan install error with perl > 5.6.x
tjs
tjs at cdpa.nsysu.edu.tw
Mon Oct 4 04:10:29 UTC 2004
>Number: 72292
>Category: ports
>Synopsis: ports/security/smtpscan install error with perl > 5.6.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 04 04:10:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jin-Shan Tseng
>Release: FreeBSD 5.3-BETA7 i386
>Organization:
NSYSU-CDPA
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Sun Oct 3 15:03:45 CST 2004 tjs at Pluto.CDPA.nsysu.edu.tw:/usr/obj/usr/src/sys/Pluto i386
>Description:
ports/security/smtpscan requires the perl module p5-IO, but Tthis module is included in perl 5.6.x and higher.
===> Installing for smtpscan-0.5
===> smtpscan-0.5 depends on file: /usr/local/lib/perl5/site_perl/5.6.1/Getopt/Long.pm - found
===> smtpscan-0.5 depends on file: /usr/local/lib/perl5/site_perl/5.6.1/mach/IO.pm - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.6.1/mach/IO.pm in /usr/ports/devel/p5-IO
===> p5-IO-1.20 This module is already included in perl 5.6.x and later..
*** Error code 1
Stop in /usr/ports/devel/p5-IO.
*** Error code 1
Stop in /usr/ports/security/smtpscan.
>How-To-Repeat:
Ensuring devel/p5-IO is not installed, and install lang/perl5.
Then attempt to install security/smtpscan.
>Fix:
--- Makefile.orig Mon Oct 4 11:57:58 2004
+++ Makefile Mon Oct 4 11:59:27 2004
@@ -14,7 +14,6 @@
COMMENT= A remote SMTP server version detector
RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
- ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
USE_PERL5= yes
@@ -24,4 +23,8 @@
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
+.endif
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list