aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-04-02 15:13:32 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-04-02 15:13:32 +0800
commit17de1f88d0e6ca86e358aed581af6fe6cb48dd5f (patch)
tree57c4ed1935fea0db2208c706277ad9b1a9557b87 /devel
parentf7461e5406d8a736c1c9de30d6c9381c53336165 (diff)
downloadfreebsd-ports-gnome-17de1f88d0e6ca86e358aed581af6fe6cb48dd5f.tar.gz
freebsd-ports-gnome-17de1f88d0e6ca86e358aed581af6fe6cb48dd5f.tar.zst
freebsd-ports-gnome-17de1f88d0e6ca86e358aed581af6fe6cb48dd5f.zip
- Fix *_DEPENDS: Sub::Util is only available in perl5.22 and above
- Bump PORTREVISION for dependency change
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Moo/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/p5-Moo/Makefile b/devel/p5-Moo/Makefile
index da2455cce28f..a1e8d76a39c8 100644
--- a/devel/p5-Moo/Makefile
+++ b/devel/p5-Moo/Makefile
@@ -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>