svn commit: r503473 - head/textproc/po4a

Mathieu Arnold mat at FreeBSD.org
Tue Jun 4 14:06:19 UTC 2019


Author: mat
Date: Tue Jun  4 14:06:18 2019
New Revision: 503473
URL: https://svnweb.freebsd.org/changeset/ports/503473

Log:
  Fix build with recent perl5-devel.

Modified:
  head/textproc/po4a/Makefile   (contents, props changed)

Modified: head/textproc/po4a/Makefile
==============================================================================
--- head/textproc/po4a/Makefile	Tue Jun  4 13:24:51 2019	(r503472)
+++ head/textproc/po4a/Makefile	Tue Jun  4 14:06:18 2019	(r503473)
@@ -11,7 +11,8 @@ COMMENT=	Brings gettext translation tools to all kinds
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	p5-Term-ReadKey>=2.30:devel/p5-Term-ReadKey \
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Term-ReadKey>=2.30:devel/p5-Term-ReadKey \
 		p5-Text-WrapI18N>=0.06:textproc/p5-Text-WrapI18N \
 		p5-SGMLSpm>=1.03:textproc/p5-SGMLSpm \
 		p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \
@@ -19,9 +20,14 @@ BUILD_DEPENDS=	p5-Term-ReadKey>=2.30:devel/p5-Term-Rea
 		jade>=0:textproc/jade \
 		xsltproc:textproc/libxslt \
 		docbook-xsl>0:textproc/docbook-xsl
-RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		gettext perl5
 USE_PERL5=	modbuild
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 503100
+RUN_DEPENDS+=	p5-Pod-Parser>0:textproc/p5-Pod-Parser
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list