aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-PAR
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-09-16 04:58:01 +0800
committeradamw <adamw@FreeBSD.org>2003-09-16 04:58:01 +0800
commit1afa12a6c2f8023722a549c94a44afb9171889c1 (patch)
treecd85afe715cbd5b56dffda005ecd3fe250b24bc8 /devel/p5-PAR
parent6f1589e3301c6d255f22097b5a270db30b21fda6 (diff)
downloadfreebsd-ports-gnome-1afa12a6c2f8023722a549c94a44afb9171889c1.tar.gz
freebsd-ports-gnome-1afa12a6c2f8023722a549c94a44afb9171889c1.tar.zst
freebsd-ports-gnome-1afa12a6c2f8023722a549c94a44afb9171889c1.zip
Check for PERL <= 5.006.
Submitted by: bento
Diffstat (limited to 'devel/p5-PAR')
-rw-r--r--devel/p5-PAR/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/p5-PAR/Makefile b/devel/p5-PAR/Makefile
index 46b580f22599..46fd9e55f1ca 100644
--- a/devel/p5-PAR/Makefile
+++ b/devel/p5-PAR/Makefile
@@ -28,4 +28,13 @@ PERL_CONFIGURE= yes
MAN1= par.pl.1 parl.1 pp.1
MAN3= App::Packer::PAR.3 PAR.3 PAR::Heavy.3 PAR::Intro.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if ${PERL_LEVEL} < 500601
+BROKEN= p5-PAR only supports the ports versions of Perl.
+BROKEN+=If you have installed a Perl port, and are getting this message,
+BROKEN+=please make sure you have given the command \'use.perl port\'
+.endif # ${PERL_LEVEL} < 500601
+
+.include <bsd.port.post.mk>