aboutsummaryrefslogtreecommitdiff
path: root/devel/cil
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-23 00:19:59 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-02-23 00:19:59 +0000
commit1716e01c067560f33847012d6657ab7c4aceab5f (patch)
treef5337f329207ddfea8353755a72b9e994a158083 /devel/cil
parentdebb867238af264b0950f8c0d7706b1a753a24c6 (diff)
downloadports-1716e01c067560f33847012d6657ab7c4aceab5f.tar.gz
ports-1716e01c067560f33847012d6657ab7c4aceab5f.zip
Notes
Diffstat (limited to 'devel/cil')
-rw-r--r--devel/cil/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/cil/Makefile b/devel/cil/Makefile
index be75612c16b2..c84526a0ff89 100644
--- a/devel/cil/Makefile
+++ b/devel/cil/Makefile
@@ -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>