svn commit: r372404 - head/devel/p5-Config-Any

Andrej Zverev az at FreeBSD.org
Mon Nov 10 16:45:44 UTC 2014


Author: az
Date: Mon Nov 10 16:45:43 2014
New Revision: 372404
URL: https://svnweb.freebsd.org/changeset/ports/372404
QAT: https://qat.redports.org/buildarchive/r372404/

Log:
  - make conditional depend on p5-Module-Pluggable
    It still in corelibs till perl 5.19 (or 5.20 which we have in ports).
  - bump portrevision

Modified:
  head/devel/p5-Config-Any/Makefile

Modified: head/devel/p5-Config-Any/Makefile
==============================================================================
--- head/devel/p5-Config-Any/Makefile	Mon Nov 10 16:37:27 2014	(r372403)
+++ head/devel/p5-Config-Any/Makefile	Mon Nov 10 16:45:43 2014	(r372404)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Config-Any
 PORTVERSION=	0.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,8 +14,7 @@ COMMENT=	Load class configuration data f
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	p5-Config-General>=2.47:${PORTSDIR}/devel/p5-Config-General \
-		p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+BUILD_DEPENDS=	p5-Config-General>=2.47:${PORTSDIR}/devel/p5-Config-General
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 OPTIONS_DEFINE=	INI JSON XML YAML
@@ -46,4 +45,12 @@ BUILD_DEPENDS+=	p5-YAML-LibYAML>=0:${POR
 RUN_DEPENDS+=	p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502000
+# Module::Pluggable was first released with perl v5.8.9 and removed from v5.19.0
+RUN_DEPENDS+=	p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+BUILD_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