aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Exception-Class
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-Exception-Class
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-Exception-Class')
-rw-r--r--devel/p5-Exception-Class/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-Exception-Class/Makefile b/devel/p5-Exception-Class/Makefile
index e9c05987c336..e8e41413c3b5 100644
--- a/devel/p5-Exception-Class/Makefile
+++ b/devel/p5-Exception-Class/Makefile
@@ -17,8 +17,7 @@ MAINTAINER= erwin@lansing.dk
COMMENT= A module that allows you to declare real exception classes in Perl
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -26,4 +25,10 @@ PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Exception::Class.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
+.endif
+
+.include <bsd.port.post.mk>