Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 14:06:18 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503473 - head/textproc/po4a
Message-ID:  <201906041406.x54E6IhV090318@repo.freebsd.org>

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



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