aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Load-Conditional
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-06-11 16:13:12 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-06-11 16:13:12 +0000
commit54a1630d6e44ec2ef8cb3c4a00d6f4e0503f3b4f (patch)
tree75f8d629d0ebf0e58a1b981a5cffc533b15375cf /devel/p5-Module-Load-Conditional
parent60cdc5877ab9a2546477d5d754adaa936030b51e (diff)
Notes
Diffstat (limited to 'devel/p5-Module-Load-Conditional')
-rw-r--r--devel/p5-Module-Load-Conditional/Makefile13
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>