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-Params-Validate | |
parent | 09617b5cffe8fd343d0fd2f426d9757b1e22db22 (diff) |
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-Params-Validate')
-rw-r--r-- | devel/p5-Params-Validate/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile index 596bf441c29f..a252a99dd703 100644 --- a/devel/p5-Params-Validate/Makefile +++ b/devel/p5-Params-Validate/Makefile @@ -15,9 +15,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= dsh@vlink.ru COMMENT= Validate method/function parameters -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} @@ -33,5 +30,9 @@ MAN3= Attribute::Params::Validate.3 Params::ValidateXS.3 \ .if ${PERL_LEVEL} < 500600 IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again .endif +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif .include <bsd.port.post.mk> |