Date: Wed, 8 Dec 2004 23:20:25 GMT From: Hubert Tournier <hubert@frbsd.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/72292: ports/security/smtpscan install error with perl > 5.6.x Message-ID: <200412082320.iB8NKP6w027654@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/72292; it has been noted by GNATS. From: Hubert Tournier <hubert@frbsd.org> To: FreeBSD-gnats-submit@freebsd.org, Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> Cc: Subject: Re: ports/72292: ports/security/smtpscan install error with perl > 5.6.x Date: Thu, 09 Dec 2004 00:20:05 +0100 >Submitter-Id: current-users >Originator: Hubert Tournier <hubert@frbsd.org> >Organization: Chuck's corner <http://www.frbsd.org/fr/> >Confidential: no >Synopsis: ports/72292: ports/security/smtpscan install error with perl > 5.6.x >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 5.3-RELEASE-p2 i386 >Environment: System: FreeBSD castor.online.fr 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Sat Dec 4 18:13:35 CET 2004 root@castor.online.fr:/usr/obj/usr/src/sys/CASTOR i386 >Description: I'm OK with the fix proposed by Jin-Shan Tseng (along with portrevision++). Thank you! And apologies for the delay :-( >Fix: --- diff begins here --- --- Makefile.bak Wed Dec 8 23:46:30 2004 +++ Makefile Wed Dec 8 23:42:09 2004 @@ -7,6 +7,7 @@ PORTNAME= smtpscan PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= security mail perl5 MASTER_SITES= http://www.greyhats.org/outils/smtpscan/ @@ -14,7 +15,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 +24,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> --- diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412082320.iB8NKP6w027654>