From f6899ed3aa5b4a081bb7929bd9c7e5b68a11fc4c Mon Sep 17 00:00:00 2001 From: leeym Date: Sat, 1 Mar 2003 19:30:37 +0000 Subject: - Add check for installed perl-version. - Mark as BROKEN on systems with perl < 5.6.0. PR: 48626 Submitted by: Michael Nottebrock --- multimedia/dvdrip/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile index ff6a0e173408..451da09d8839 100644 --- a/multimedia/dvdrip/Makefile +++ b/multimedia/dvdrip/Makefile @@ -44,6 +44,8 @@ MAN1= dvdrip.1 dr_splitpipe.1 dr_progress.1 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Video::DVDRip.3 +.include + pre-everything:: .if !defined(WITHOUT_CLUSTER) @${ECHO_MSG} @@ -74,4 +76,9 @@ post-patch: post-install: @${CAT} ${PKGMESSAGE} -.include +.if ${PERL_LEVEL} < 500600 +BROKEN= "You need at least perl 5.6.0. Do not use FreeBSD 4.x' system perl,\ + it's outdated. Install lang/perl5 and issue 'use.perl port'" +.endif + +.include -- cgit