Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2017 05:51:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443808 - head/ftp/p5-File-Fetch
Message-ID:  <201706180551.v5I5pdIR071962@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706180551.v5I5pdIR071962>