From owner-freebsd-perl@FreeBSD.ORG Tue Jan 11 15:29:00 2005 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BCD816A4CE; Tue, 11 Jan 2005 15:29:00 +0000 (GMT) Received: from plouf.absolight.net (plouf.absolight.net [193.30.224.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0524543D46; Tue, 11 Jan 2005 15:29:00 +0000 (GMT) (envelope-from mat@FreeBSD.org) Received: from [192.168.8.51] (abeille.free.absolight.net [82.66.245.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id 5E868A24066; Tue, 11 Jan 2005 16:28:59 +0100 (CET) Date: Tue, 11 Jan 2005 16:28:39 +0100 From: Mathieu Arnold To: Matthew Seaman , Niels Heinen Message-ID: <9EC89887E2E3710FA4B800EB@[192.168.8.51]> In-Reply-To: <41E3EB9C.4090604@infracaninophile.co.uk> References: <20050111143905.GA64753@r0ck.mine.nu> <41E3EB9C.4090604@infracaninophile.co.uk> X-Mailer: Mulberry/4.0.0a4 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========404AA8C9B4FEB21E3D7C==========" cc: freebsd-perl@FreeBSD.org Subject: Re: Perl port question X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 15:29:00 -0000 --==========404AA8C9B4FEB21E3D7C========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +-le 11/01/2005 15:07 +0000, Matthew Seaman a dit : | Niels Heinen wrote: | |> I'm working on a perl port that depends on perl 5.8. It will |> not works with an older version. |> |> Is there any recommended way to make sure the user uses this perl |> version ? |> |> I can use PERL_LEVEL to check the version but what if |> the user installed the perl port and didn't do a 'use.perl'... | | The usual idiom is something like this: | | .if ${PERL_LEVEL} < 500601 | IGNORE= Port requires perl 5.6.x or (preferably) later. Install | lang/perl5.8 and try again | .endif In his case, it's more a : .if ${PERL_LEVEL} < 500800 IGNORE= Port requires perl 5.8. Install lang/perl5.8 and try again .endif -- Mathieu Arnold --==========404AA8C9B4FEB21E3D7C========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iQEVAwUBQePwtVvROjYJ63c1AQIMCggAmdHbnZI7eHV0HXh2ilLiPHHPfXVBo/Qd +dcBja74VInZQPVF0v8RlRLUe+ynwDMIZWkkiidthsjj6wzB4tzTKU8lWrIY2WA3 MZo6yvF7NVJ/EZQwxNU8Is+DP+GZzeitrJx4hPm3IOvysaGJlTvIj/pSqJDY2afl MgJRJV36nB3+v4FSnPbqbrZ+OQwh0kAPs1M19mWXc5WnTCW7z9DgqgebDBJ/K/ta QY+AZrWXPPr8jHGj/DKkKNvtSUjviE+Q4CJdK3dYBBPhsLykzZFJrZkNaM+Ju2aN 6MiyAku+0wjN9sOvsJ9BkulPlaMLzMakeVAOlBhOG5eHuzGwajQhxQ== =73Ca -----END PGP SIGNATURE----- --==========404AA8C9B4FEB21E3D7C==========--