From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 8 23:20:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6977816A4CE for ; Wed, 8 Dec 2004 23:20:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 478D843D2D for ; Wed, 8 Dec 2004 23:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8NKQNI027655 for ; Wed, 8 Dec 2004 23:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB8NKP6w027654; Wed, 8 Dec 2004 23:20:25 GMT (envelope-from gnats) Date: Wed, 8 Dec 2004 23:20:25 GMT Message-Id: <200412082320.iB8NKP6w027654@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Hubert Tournier Subject: Re: ports/72292: ports/security/smtpscan install error with perl > 5.6.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hubert Tournier List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 23:20:26 -0000 The following reply was made to PR ports/72292; it has been noted by GNATS. From: Hubert Tournier To: FreeBSD-gnats-submit@freebsd.org, Jin-Shan Tseng 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 >Organization: Chuck's corner >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 +.include +.if ${PERL_LEVEL} < 500600 + RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO +.endif +.include --- diff ends here ---