diff options
-rw-r--r-- | devel/p5-Module-Pluggable/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/p5-Module-Pluggable/Makefile b/devel/p5-Module-Pluggable/Makefile index 6b0ee761c435..0b45dadc5d78 100644 --- a/devel/p5-Module-Pluggable/Makefile +++ b/devel/p5-Module-Pluggable/Makefile @@ -7,6 +7,7 @@ PORTNAME= Module-Pluggable PORTVERSION= 3.8 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,13 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Automatically give your module the ability to have plugins -RUN_DEPENDS= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools -BUILD_DEPENDS= ${RUN_DEPENDS} - PERL_CONFIGURE= yes MAN3= Devel::InnerPackage.3 \ Module::Pluggable.3 \ Module::Pluggable::Object.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500806 +RUN_DEPENDS+= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools +.endif + +.include <bsd.port.post.mk> |