diff options
Diffstat (limited to 'devel/p5-Module-Load-Conditional/Makefile')
-rw-r--r-- | devel/p5-Module-Load-Conditional/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/p5-Module-Load-Conditional/Makefile b/devel/p5-Module-Load-Conditional/Makefile index 5b53a4eb2093..0d36112f735a 100644 --- a/devel/p5-Module-Load-Conditional/Makefile +++ b/devel/p5-Module-Load-Conditional/Makefile @@ -7,6 +7,7 @@ PORTNAME= Module-Load-Conditional PORTVERSION= 0.08 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Module @@ -17,7 +18,8 @@ COMMENT= Looking up Perl modules information/loading at runtime BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ ${RUN_DEPENDS} -RUN_DEPENDS= ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ + ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \ ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check @@ -34,11 +36,4 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} <= 500600 -BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |