Index: head/devel/p5-Hash-Util-FieldHash-Compat/Makefile =================================================================== --- head/devel/p5-Hash-Util-FieldHash-Compat/Makefile (revision 393012) +++ head/devel/p5-Hash-Util-FieldHash-Compat/Makefile (revision 393013) @@ -1,24 +1,30 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= Hash-Util-FieldHash-Compat PORTVERSION= 0.08 PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Use Hash::Util::FieldHash or ties, depending on availability LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Tie-RefHash-Weak>=0.08:${PORTSDIR}/devel/p5-Tie-RefHash-Weak RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple +NO_ARCH= yes USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502200 +TEST_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include