From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 20 13:20:25 2003 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 911C716A4C1 for ; Wed, 20 Aug 2003 13:20:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF6F4400E for ; Wed, 20 Aug 2003 13:20:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7KKKHUp090743 for ; Wed, 20 Aug 2003 13:20:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7KKKHwe090742; Wed, 20 Aug 2003 13:20:17 -0700 (PDT) Resent-Date: Wed, 20 Aug 2003 13:20:17 -0700 (PDT) Resent-Message-Id: <200308202020.h7KKKHwe090742@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Julian C.Dunn" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11A8F16A4BF for ; Wed, 20 Aug 2003 13:13:29 -0700 (PDT) Received: from castle.dreaming.org (monalisa.creativehouse.com [209.82.34.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F0BD43F3F for ; Wed, 20 Aug 2003 13:13:28 -0700 (PDT) (envelope-from julian@castle.dreaming.org) Received: from localhost (localhost [127.0.0.1]) by castle.dreaming.org (Postfix) with ESMTP id B25A89F6CC for ; Wed, 20 Aug 2003 16:13:27 -0400 (EDT) Received: by castle.dreaming.org (Postfix, from userid 1225) id 665829F6D1; Wed, 20 Aug 2003 16:13:26 -0400 (EDT) Message-Id: <20030820201326.665829F6D1@castle.dreaming.org> Date: Wed, 20 Aug 2003 16:13:26 -0400 (EDT) From: "Julian C.Dunn" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/55817: amavisd-new build will break when in-use Perl is >= 5.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Julian C.Dunn" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 20:20:26 -0000 >Number: 55817 >Category: ports >Synopsis: amavisd-new build will break when in-use Perl is >= 5.6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 20 13:20:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Julian C. Dunn >Release: FreeBSD 4.8-RC i386 >Organization: The Dreaming Electronic Community Network, Inc. >Environment: System: FreeBSD castle.dreaming.org 4.8-RC FreeBSD 4.8-RC #3: Sat Mar 22 21:41:41 EST 2003 merlyn@castle.dreaming.org:/export/u7/obj/export/u7/src/sys/castle i386 >Description: If one of the Perl from the ports (5.6.1 or 5.8) is built and installed on the system, and "use.perl ports" is run, to make the default Perl the ports Perl, then the build of amavisd-new will break because the ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm is already satisfied within Perl itself. >How-To-Repeat: When Perl >= 5.6.0 is installed and is the default Perl: cd /usr/ports/security/amavisd-new && make install >Fix: This patch may not be perfect, but it appears to work. It needs testing for the case when the system Perl is the only Perl and the IO::Socket::UNIX dependency does need to be satisfied. --- amavisd-new/Makefile.bak Wed Aug 20 15:37:50 2003 +++ amavisd-new/Makefile Wed Aug 20 16:02:27 2003 @@ -15,8 +15,7 @@ MAINTAINER= blaz@si.FreeBSD.org COMMENT= Performance-enhanced daemonized version of amavis-perl -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO \ - ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \ ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ @@ -35,6 +34,12 @@ ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \ ${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo +.include + +.if ${PERL_LEVEL} < 500600 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO +.endif + USE_PERL5_RUN= yes PKGINSTALL= ${WRKDIR}/INSTALL @@ -104,4 +109,4 @@ @${CAT} ${PKGMESSAGE} .endif -.include +.include >Release-Note: >Audit-Trail: >Unformatted: