mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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>
This commit is contained in:
parent
09aeb3ea5d
commit
10341c2ceb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76708
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue