diff options
-rw-r--r-- | devel/p5-Carp-Assert/Makefile | 12 | ||||
-rw-r--r-- | devel/p5-Exception-Class/Makefile | 11 | ||||
-rw-r--r-- | devel/p5-Params-Validate/Makefile | 7 |
3 files changed, 20 insertions, 10 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> 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> 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> |