Perl port question

Mathieu Arnold mat at FreeBSD.org
Tue Jan 11 07:29:00 PST 2005


+-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20050111/8a9a26bd/attachment.bin


More information about the freebsd-perl mailing list