From 1a9ef9fa6754e0c0f087f4e7a76e65029a75941c Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Sat, 28 Mar 2009 20:45:10 +0000 Subject: Introduce Perl 5.10.0 --- security/p5-Digest-SHA/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'security/p5-Digest-SHA/Makefile') diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile index c94cf0975009..a896ab99af71 100644 --- a/security/p5-Digest-SHA/Makefile +++ b/security/p5-Digest-SHA/Makefile @@ -16,7 +16,20 @@ COMMENT= Perl extension for SHA-1/224/256/384/512 PERL_CONFIGURE= yes -MAN1= shasum.1 MAN3= Digest::SHA.3 -.include +.include + +.if ${PERL_LEVEL} >= 501000 +PLIST_SUB+= EXE_FILES="@comment " +.else +PLIST_SUB+= EXE_FILES="" +MAN1= shasum.1 +.endif + +post-patch: +.if ${PERL_LEVEL} >= 501000 + @${REINPLACE_CMD} -e 's/5.010/5.666/; /EXE_FILES/d' ${WRKSRC}/Makefile.PL +.endif + +.include -- cgit v1.2.3