summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-11 16:48:18 +0000
committerpetef <petef@FreeBSD.org>2003-05-11 16:48:18 +0000
commitcfe8279353a52db327236b42b3023fa3c4473653 (patch)
tree555a5de94448fc2d62770608519c1979fb761db7
parent2f590a4fe8522605caeecc7e46a407dc9ca09db7 (diff)
downloadFreeBSD-ports-cfe8279353a52db327236b42b3023fa3c4473653.zip
FreeBSD-ports-cfe8279353a52db327236b42b3023fa3c4473653.tar.gz
Require perl 5.6.1.
PR: 52074 Submitted by: "Miguel Mendez" <flynn@energyhq.es.eu.org>
-rw-r--r--mail/pflogstats/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/pflogstats/Makefile b/mail/pflogstats/Makefile
index 6ac445f..547faf6 100644
--- a/mail/pflogstats/Makefile
+++ b/mail/pflogstats/Makefile
@@ -22,6 +22,12 @@ NO_BUILD= yes
USE_PERL5= yes
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= Port requires perl 5.6.1 or later. Install lang/perl5 then try again
+.endif
+
post-patch:
# fix location of PERL
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl
@@ -38,4 +44,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud