diff options
author | naddy <naddy@FreeBSD.org> | 2003-06-07 23:02:28 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-06-07 23:02:28 +0800 |
commit | 85c906557c02b0063622d658aeaae494a525f4b1 (patch) | |
tree | 800e3b8efae5e057147e5a6752855ec8add85637 /audio | |
parent | ea1b909282c5927f7fbc4f842627692243184bc6 (diff) | |
download | freebsd-ports-gnome-85c906557c02b0063622d658aeaae494a525f4b1.tar.gz freebsd-ports-gnome-85c906557c02b0063622d658aeaae494a525f4b1.tar.zst freebsd-ports-gnome-85c906557c02b0063622d658aeaae494a525f4b1.zip |
Mark as BROKEN in case port version of Perl is missing on 4-stable.
PR: 52930
Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gnump3d/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/gnump3d/Makefile b/audio/gnump3d/Makefile index 7c282abd8b70..d5acfda29f69 100644 --- a/audio/gnump3d/Makefile +++ b/audio/gnump3d/Makefile @@ -27,6 +27,13 @@ MAN1= gnump3d.1 gnump3d-top.1 gnump3d.conf.1 CONFDIR= ${PREFIX}/etc/${PORTNAME} PERL_SITELIBDIR= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} +.include <bsd.port.pre.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 + post-patch: .for file in bin/gnump3d-top bin/gnump3d2 etc/gnump3d.conf man/gnump3d.conf.1 @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ @@ -57,4 +64,4 @@ do-install: .endif ${MKDIR} /var/log/${PORTNAME} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |