diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-03-01 19:30:37 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-03-01 19:30:37 +0000 |
commit | 10341c2cebcb2a441870fb66e5976b1a931bb33c (patch) | |
tree | cb62cd1c9ad6457b298ecfda3b2bdb49fcddec37 /multimedia/dvdrip | |
parent | 09aeb3ea5dd3ac3bc943ec52ec7208a3198529a3 (diff) |
- Add check for installed perl-version.
- Mark as BROKEN on systems with perl < 5.6.0.
PR: 48626
Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
Notes
Notes:
svn path=/head/; revision=76708
Diffstat (limited to 'multimedia/dvdrip')
-rw-r--r-- | multimedia/dvdrip/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 <bsd.port.pre.mk> + pre-everything:: .if !defined(WITHOUT_CLUSTER) @${ECHO_MSG} @@ -74,4 +76,9 @@ post-patch: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.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 <bsd.port.post.mk> |