aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-05-11 07:35:58 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-05-11 07:35:58 +0000
commitedaa1e7ea0664290e374c60719c2582131de6703 (patch)
treec46c43491b2d4b65b424afc751f0fc451e091860 /devel
parentdb3d4ce83ccf2ec03d9f0b747b1b25e62d3b37ef (diff)
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Module-Load-Conditional/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/p5-Module-Load-Conditional/Makefile b/devel/p5-Module-Load-Conditional/Makefile
index 81891a09c1d0..8701fce7c8fe 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.30
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,9 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Looking up Perl modules information/loading at runtime
-RUN_DEPENDS= p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Module::Load::Conditional.3
@@ -32,6 +30,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load
+.endif
+
.if ${PERL_LEVEL} < 500905
RUN_DEPENDS+= p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
p5-Params-Check>=0:${PORTSDIR}/devel/p5-Params-Check \