aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2009-05-11 15:35:58 +0800
committerleeym <leeym@FreeBSD.org>2009-05-11 15:35:58 +0800
commit5d2a5c2e24b8484943547254e78874121be757d2 (patch)
treeac1ddb5f72e0b2ac04f1eb641de76df77726072c /devel
parent2c17f7fe0861289b0c96acff7893c45e7ff2ed7e (diff)
downloadfreebsd-ports-gnome-5d2a5c2e24b8484943547254e78874121be757d2.tar.gz
freebsd-ports-gnome-5d2a5c2e24b8484943547254e78874121be757d2.tar.zst
freebsd-ports-gnome-5d2a5c2e24b8484943547254e78874121be757d2.zip
- use conditional dependency for Module::Load since it's shipped with perl 5.10
- bump PORTREVISION
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 \