diff options
author | leeym <leeym@FreeBSD.org> | 2003-03-02 03:30:37 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-03-02 03:30:37 +0800 |
commit | f6899ed3aa5b4a081bb7929bd9c7e5b68a11fc4c (patch) | |
tree | b1249f921a154cda29d18cc1763a5948c6234714 | |
parent | 0e989e02d2d682264068fc691f425b5f11dd6035 (diff) | |
download | freebsd-ports-gnome-f6899ed3aa5b4a081bb7929bd9c7e5b68a11fc4c.tar.gz freebsd-ports-gnome-f6899ed3aa5b4a081bb7929bd9c7e5b68a11fc4c.tar.zst freebsd-ports-gnome-f6899ed3aa5b4a081bb7929bd9c7e5b68a11fc4c.zip |
- 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>
-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> |