svn commit: r357016 - head/devel/p5-Devel-MAT
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 8 13:23:15 UTC 2014
Author: sunpoet
Date: Sun Jun 8 13:23:14 2014
New Revision: 357016
URL: http://svnweb.freebsd.org/changeset/ports/357016
QAT: https://qat.redports.org/buildarchive/r357016/
Log:
- Update *_DEPENDS for Perl 5.20
- Bump PORTREVISION for dependency change
Modified:
head/devel/p5-Devel-MAT/Makefile
Modified: head/devel/p5-Devel-MAT/Makefile
==============================================================================
--- head/devel/p5-Devel-MAT/Makefile Sun Jun 8 13:23:08 2014 (r357015)
+++ head/devel/p5-Devel-MAT/Makefile Sun Jun 8 13:23:14 2014 (r357016)
@@ -3,6 +3,7 @@
PORTNAME= Devel-MAT
PORTVERSION= 0.17
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,12 +14,9 @@ COMMENT= Perl Memory Analysis Tool
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-# Module::Pluggable will be removed from core since Perl 5.20
BUILD_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
- p5-List-UtilsBy>=0:${PORTSDIR}/devel/p5-List-UtilsBy \
- p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable \
- p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
+ p5-List-UtilsBy>=0:${PORTSDIR}/devel/p5-List-UtilsBy
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Identity>=0:${PORTSDIR}/devel/p5-Test-Identity \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
@@ -26,4 +24,14 @@ TEST_DEPENDS= p5-Test-Identity>=0:${PORT
USE_PERL5= modbuild
USES= perl5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.else
+BUILD_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list