svn commit: r443808 - head/ftp/p5-File-Fetch
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 18 05:51:40 UTC 2017
Author: sunpoet
Date: Sun Jun 18 05:51:39 2017
New Revision: 443808
URL: https://svnweb.freebsd.org/changeset/ports/443808
Log:
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Modified:
head/ftp/p5-File-Fetch/Makefile
Modified: head/ftp/p5-File-Fetch/Makefile
==============================================================================
--- head/ftp/p5-File-Fetch/Makefile Sun Jun 18 05:51:34 2017 (r443807)
+++ head/ftp/p5-File-Fetch/Makefile Sun Jun 18 05:51:39 2017 (r443808)
@@ -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>
More information about the svn-ports-all
mailing list