Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2016 07:13:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412390 - head/devel/p5-Moo
Message-ID:  <201604020713.u327DWEj084183@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604020713.u327DWEj084183>