aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Carp-Assert
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-02-24 21:41:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-02-24 21:41:13 +0000
commit1f5a001008a5bdc136a98d7b0f7522350424a1ea (patch)
tree2607f70635c42a8de7fb635331ce208c4b48355d /devel/p5-Carp-Assert
parent09617b5cffe8fd343d0fd2f426d9757b1e22db22 (diff)
downloadports-1f5a001008a5bdc136a98d7b0f7522350424a1ea.tar.gz
ports-1f5a001008a5bdc136a98d7b0f7522350424a1ea.zip
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.
Notes
Notes: svn path=/head/; revision=76423
Diffstat (limited to 'devel/p5-Carp-Assert')
-rw-r--r--devel/p5-Carp-Assert/Makefile12
1 files changed, 8 insertions, 4 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>