1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Unbreak on older perl and pet portlint

PR:		100327
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
This commit is contained in:
Erwin Lansing 2006-07-15 08:22:10 +00:00
parent 8a37a4fc60
commit aa7867176b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167877
2 changed files with 9 additions and 7 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= Exception-Class
PORTVERSION= 1.23
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Exception
@ -22,12 +23,12 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Exception::Class.3
MAN3= Exception::Class.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or higher. Please install lang/perl5.8 and try again
.if ${PERL_LEVEL} < 500702
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/Exception/Class.pm
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class/.packlist
@dirrm %%SITE_PERL%%/Exception
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception
%%SITE_PERL%%/Exception/Class.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception
@dirrmtry %%SITE_PERL%%/Exception