svn commit: r377613 - head/devel/p5-Test-CheckDeps
Frederic Culot
culot at FreeBSD.org
Wed Jan 21 14:33:25 UTC 2015
Author: culot
Date: Wed Jan 21 14:33:24 2015
New Revision: 377613
URL: https://svnweb.freebsd.org/changeset/ports/377613
QAT: https://qat.redports.org/buildarchive/r377613/
Log:
- Fix dependencies
PR: 196877
Submitted by: sunpoet@
Modified:
head/devel/p5-Test-CheckDeps/Makefile
Modified: head/devel/p5-Test-CheckDeps/Makefile
==============================================================================
--- head/devel/p5-Test-CheckDeps/Makefile Wed Jan 21 14:28:47 2015 (r377612)
+++ head/devel/p5-Test-CheckDeps/Makefile Wed Jan 21 14:33:24 2015 (r377613)
@@ -3,7 +3,7 @@
PORTNAME= Test-CheckDeps
PORTVERSION= 0.010
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +14,17 @@ COMMENT= Check for presence of dependenc
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-CPAN-Meta>=2.120920:${PORTSDIR}/devel/p5-CPAN-Meta \
- p5-CPAN-Meta-Check>=0.007:${PORTSDIR}/devel/p5-CPAN-Meta-Check
+BUILD_DEPENDS= p5-CPAN-Meta-Check>=0.007:${PORTSDIR}/devel/p5-CPAN-Meta-Check
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+= p5-CPAN-Meta>=2.120920:${PORTSDIR}/devel/p5-CPAN-Meta
+RUN_DEPENDS+= p5-CPAN-Meta>=2.120920:${PORTSDIR}/devel/p5-CPAN-Meta
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list