aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-18 05:51:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-18 05:51:39 +0000
commit84df94605cc8f2a616f485d7e9177e5e139ef3f3 (patch)
tree60c9f5d1da07d1fa11a4942069a58357a1fea55a /ftp
parent429a3b22f610ba7c3b7061ff14389ffd8e35afd1 (diff)
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/p5-File-Fetch/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/ftp/p5-File-Fetch/Makefile b/ftp/p5-File-Fetch/Makefile
index 26219a875807..d41a5474327c 100644
--- a/ftp/p5-File-Fetch/Makefile
+++ b/ftp/p5-File-Fetch/Makefile
@@ -3,6 +3,7 @@
PORTNAME= File-Fetch
PORTVERSION= 0.52
+PORTREVISION= 1
CATEGORIES= ftp www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,11 +14,15 @@ COMMENT= Generic file fetching mechanism
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Module-Load-Conditional>=0.66:devel/p5-Module-Load-Conditional
-RUN_DEPENDS= p5-Module-Load-Conditional>=0.66:devel/p5-Module-Load-Conditional
-
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502504
+BUILD_DEPENDS+= p5-Module-Load-Conditional>=0.66:devel/p5-Module-Load-Conditional
+RUN_DEPENDS+= p5-Module-Load-Conditional>=0.66:devel/p5-Module-Load-Conditional
+.endif
+
+.include <bsd.port.post.mk>