From 1f5a001008a5bdc136a98d7b0f7522350424a1ea Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 24 Feb 2003 21:41:13 +0000 Subject: If perl-5.8.0 is the main perl istalled don't depend on modules already in the base distribution. Sponsored by: Porta Software Ltd. --- devel/p5-Carp-Assert/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'devel/p5-Carp-Assert') diff --git a/devel/p5-Carp-Assert/Makefile b/devel/p5-Carp-Assert/Makefile index aa1961a49262..718c058bcfd3 100644 --- a/devel/p5-Carp-Assert/Makefile +++ b/devel/p5-Carp-Assert/Makefile @@ -14,12 +14,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Carp::Assert.3 -.include +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.include -- cgit v1.2.3