Date: Tue, 11 Jan 2005 16:28:39 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, Niels Heinen <niels@FreeBSD.org> Cc: freebsd-perl@FreeBSD.org Subject: Re: Perl port question 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
+-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
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9EC89887E2E3710FA4B800EB>
