From owner-freebsd-ports-bugs Tue Feb 4 1: 0:32 2003 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 1EA4237B401 for ; Tue, 4 Feb 2003 01:00:31 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD1A643F75 for ; Tue, 4 Feb 2003 01:00:30 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1490UNS003304 for ; Tue, 4 Feb 2003 01:00:30 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1490Ut0003303; Tue, 4 Feb 2003 01:00:30 -0800 (PST) Date: Tue, 4 Feb 2003 01:00:30 -0800 (PST) Message-Id: <200302040900.h1490Ut0003303@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Anton Berezin Subject: Re: ports/47891: update port:mail/p5-Mail-Procmailrc 1.00->1.03, 'fix' perl5.6 dependency Reply-To: Anton Berezin Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/47891; it has been noted by GNATS. From: Anton Berezin To: Volker Stolz Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/47891: update port:mail/p5-Mail-Procmailrc 1.00->1.03, 'fix' perl5.6 dependency Date: Tue, 4 Feb 2003 09:55:08 +0100 On Tue, Feb 04, 2003 at 09:47:37AM +0100, Volker Stolz wrote: > - Check for perl version instead of failing ungracefully > (suggested by: Lars Thegler) > +.if !defined(BATCH) > +pre-fetch: > + @${PERL} -M5.6.0 -e '' >/dev/null 2>&1 || \ > + ( ${ECHO_CMD} "This port requires perl 5.6.0" ; exit 1 ) > +.endif There is a better mechanism for this in place now. See, for example, devel/p5-Test-Exception/Makefile +Anton. -- | Anton Berezin | FreeBSD: The power to serve | | catpipe Systems ApS _ _ |_ | http://www.FreeBSD.org | | tobez@catpipe.net (_(_|| | tobez@FreeBSD.org | | +45 7021 0050 | Private: tobez@tobez.org | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message