summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-06-09 07:10:24 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-06-09 07:10:24 +0000
commit0449f732c38c9c4f878cabe89a57ea9d4ae732ca (patch)
tree2f4976a6fb49b400e05829c8e3a39230c2d271f0
parent63bf70a31c71c0d90b0b305f36579c5459e68403 (diff)
downloadfreebsd-ports-0449f732c38c9c4f878cabe89a57ea9d4ae732ca.zip
- Ensure up-to-date p5-Module-Build and p5-Module-Build-Tiny to avoid build
failure if installed ones do not satisfy version requirement of ports
-rw-r--r--Mk/Uses/perl5.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index ae87e085040f..a284c68e08ff 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -181,13 +181,13 @@ CONFIGURE_ARGS+=--destdir ${STAGEDIR}
DESTDIRNAME= --destdir
.if ${_USE_PERL5:Mmodbuild}
.if ${PORTNAME} != Module-Build
-BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+BUILD_DEPENDS+= p5-Module-Build>=0.4205:${PORTSDIR}/devel/p5-Module-Build
.endif
CONFIGURE_ARGS+=--create_packlist 0
.endif
.if ${_USE_PERL5:Mmodbuildtiny}
.if ${PORTNAME} != Module-Build-Tiny
-BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny
+BUILD_DEPENDS+= p5-Module-Build-Tiny>=0.036:${PORTSDIR}/devel/p5-Module-Build-Tiny
.endif
CONFIGURE_ARGS+=--create_packlist 1
.endif