Mark IGNORE for perl < 5.6.1

This commit is contained in:
Kris Kennaway 2004-02-23 00:19:59 +00:00
parent debb867238
commit 1716e01c06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101777

View File

@ -29,6 +29,12 @@ BINFILES= cilly patcher teetwo
LIBFILES= Cilly.pm KeptFile.pm OutputFile.pm TempFile.pm
EXECFILES= cilly.byte.exe machdep.exe
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= "Does not work with perl < 5.6.1"
.endif
post-patch:
@${REINPLACE_CMD} -e 's:@CILHOME@/lib:${SITE_PERL}/CIL:g; s:\@CILHOME\@:${PREFIX}:g' ${WRKSRC}/bin/CilConfig.pm.in
@${REINPLACE_CMD} -e 's|$$::cilhome|${PREFIX}|g; s|obj/$$::archos|libexec/cil|g' ${WRKSRC}/bin/cilly
@ -52,4 +58,4 @@ do-install:
${INSTALL} ${WRKSRC}/obj/x86_LINUX/${file} ${PREFIX}/libexec/cil/
.endfor
.include <bsd.port.mk>
.include <bsd.port.post.mk>