From e04dcabe31ecc54de448b52ec209a1d2b9ccf2e3 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Tue, 9 Nov 2004 13:14:09 +0000 Subject: [PATCH] Require perl 5.6 or newer. --- devel/p5-Getopt-Popt/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/p5-Getopt-Popt/Makefile b/devel/p5-Getopt-Popt/Makefile index aefc0011126f..84cfb9a4ea22 100644 --- a/devel/p5-Getopt-Popt/Makefile +++ b/devel/p5-Getopt-Popt/Makefile @@ -28,4 +28,10 @@ post-patch: @${MKDIR} ${WRKSRC}/ex @${MV} ${WRKSRC}/example.pl ${WRKSRC}/ex -.include +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 and try again +.endif + +.include