diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-24 21:41:13 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-24 21:41:13 +0000 |
commit | 1f5a001008a5bdc136a98d7b0f7522350424a1ea (patch) | |
tree | 2607f70635c42a8de7fb635331ce208c4b48355d /devel/p5-Exception-Class | |
parent | 09617b5cffe8fd343d0fd2f426d9757b1e22db22 (diff) | |
download | ports-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/Makefile | 11 |
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> |