svn commit: r412390 - head/devel/p5-Moo
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 2 07:13:34 UTC 2016
Author: sunpoet
Date: Sat Apr 2 07:13:32 2016
New Revision: 412390
URL: https://svnweb.freebsd.org/changeset/ports/412390
Log:
- Fix *_DEPENDS: Sub::Util is only available in perl5.22 and above
- Bump PORTREVISION for dependency change
Modified:
head/devel/p5-Moo/Makefile
Modified: head/devel/p5-Moo/Makefile
==============================================================================
--- head/devel/p5-Moo/Makefile Sat Apr 2 07:13:28 2016 (r412389)
+++ head/devel/p5-Moo/Makefile Sat Apr 2 07:13:32 2016 (r412390)
@@ -3,7 +3,7 @@
PORTNAME= Moo
PORTVERSION= 2.001001
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:HAARG
@@ -31,4 +31,11 @@ USE_PERL5= configure
XS_BUILD_DEPENDS= p5-Class-XSAccessor>=1.18:devel/p5-Class-XSAccessor
XS_RUN_DEPENDS= ${XS_BUILD_DEPENDS}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=0:lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list