svn commit: r542642 - in head: Mk/Uses audio/mp3lint audio/p5-xmms2 audio/xmms2 math/PDL security/silktools textproc/po4a x11-toolkits/p5-Gtk2-Ex-PodViewer

Mathieu Arnold mat at FreeBSD.org
Mon Jul 20 14:56:25 UTC 2020


Author: mat
Date: Mon Jul 20 14:56:23 2020
New Revision: 542642
URL: https://svnweb.freebsd.org/changeset/ports/542642

Log:
  Pod::Parser was removed from perl5 in 5.31.0.
  
  Add a P5_POD_PARSER variable to use in dependencies for ports that need
  it.
  
  PR:		247826

Modified:
  head/Mk/Uses/perl5.mk
  head/audio/mp3lint/Makefile   (contents, props changed)
  head/audio/p5-xmms2/Makefile   (contents, props changed)
  head/audio/xmms2/Makefile   (contents, props changed)
  head/math/PDL/Makefile   (contents, props changed)
  head/security/silktools/Makefile   (contents, props changed)
  head/textproc/po4a/Makefile   (contents, props changed)
  head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile   (contents, props changed)

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/Mk/Uses/perl5.mk	Mon Jul 20 14:56:23 2020	(r542642)
@@ -167,6 +167,13 @@ IGNORE= has unknown USE_PERL5 components: ${_USE_PERL5
 .  endif
 
 _USES_POST+=	perl5
+
+.  if   ${PERL_LEVEL} >= 503100
+P5_POD_PARSER=	p5-Pod-Parser>=0:textproc/p5-Pod-Parser
+.  else
+P5_POD_PARSER=	
+.  endif
+
 .endif
 
 .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PERL5_POST_MK)

Modified: head/audio/mp3lint/Makefile
==============================================================================
--- head/audio/mp3lint/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/audio/mp3lint/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -14,7 +14,8 @@ COMMENT=	Configurable tool to check collections of aud
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		${P5_POD_PARSER}
 RUN_DEPENDS=	libmp3-archive-perl>=0:audio/libmp3-archive-perl
 
 USES=		perl5

Modified: head/audio/p5-xmms2/Makefile
==============================================================================
--- head/audio/p5-xmms2/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/audio/p5-xmms2/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -11,6 +11,7 @@ COMMENT=	Perl Bindings for XMMS2
 DEPRECATED=	Uses deprecated version of python
 EXPIRATION_DATE=	2020-09-15
 
+BUILD_DEPENDS+=  ${P5_POD_PARSER}
 LIB_DEPENDS+=	libxmmsclient.so:audio/xmms2
 
 MASTERDIR=	${.CURDIR}/../xmms2

Modified: head/audio/xmms2/Makefile
==============================================================================
--- head/audio/xmms2/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/audio/xmms2/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -199,12 +199,6 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src-clients-vi
 
 .endif # !XMMS2_SLAVE
 
-.include <bsd.port.pre.mk>
-
-.if defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == perl && ${PERL_LEVEL} >= 503100
-BUILD_DEPENDS+=  p5-Pod-Parser>=0:textproc/p5-Pod-Parser
-.endif
-
 # Force to nothing to avoid bsd.openssl.mk adding definitions
 # to it when AIRPLAY option is active, waf does not understand it anyway.
 MAKE_ARGS=
@@ -227,4 +221,4 @@ post-install:
 	${FIND} ${STAGEDIR}${PREFIX}/lib -name '*.so*' | ${XARGS} ${STRIP_CMD} 
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/PDL/Makefile
==============================================================================
--- head/math/PDL/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/math/PDL/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -18,6 +18,7 @@ BROKEN_i386=	ld: error: can't create dynamic relocatio
 .endif
 
 BUILD_DEPENDS=	p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib \
+		${P5_POD_PARSER} \
 		${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Astro-FITS-Header>=0:astro/p5-Astro-FITS-Header \
 		p5-Convert-UU>=0:converters/p5-Convert-UU \

Modified: head/security/silktools/Makefile
==============================================================================
--- head/security/silktools/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/security/silktools/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -17,7 +17,8 @@ LICENSE_FILE_GPLR=	${WRKSRC}/LICENSE.txt
 LICENSE_PERMS_GPLR=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 LIB_DEPENDS=	libfixbuf.so:net/libfixbuf
-BUILD_DEPENDS=	p5-DBI>=0:databases/p5-DBI
+BUILD_DEPENDS=	p5-DBI>=0:databases/p5-DBI \
+		${P5_POD_PARSER}
 RUN_DEPENDS=	p5-DBI>=0:databases/p5-DBI
 
 GNU_CONFIGURE=	yes

Modified: head/textproc/po4a/Makefile
==============================================================================
--- head/textproc/po4a/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/textproc/po4a/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -11,7 +11,8 @@ COMMENT=	Brings gettext translation tools to all kinds
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		${P5_POD_PARSER}
 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 \
@@ -24,10 +25,4 @@ RUN_DEPENDS=	p5-Term-ReadKey>=2.30:devel/p5-Term-ReadK
 USES=		gettext perl5
 USE_PERL5=	modbuild
 
-.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>
+.include <bsd.port.mk>

Modified: head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile
==============================================================================
--- head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile	Mon Jul 20 13:50:17 2020	(r542641)
+++ head/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile	Mon Jul 20 14:56:23 2020	(r542642)
@@ -14,7 +14,8 @@ COMMENT=	Displays plain old documentation
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		${P5_POD_PARSER}
 RUN_DEPENDS=	p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
 		p5-IO-Stringy>=0:devel/p5-IO-Stringy \
 		p5-Locale-gettext>=0:devel/p5-Locale-gettext \
@@ -24,10 +25,4 @@ RUN_DEPENDS=	p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 503100
-BUILD_DEPENDS+=	p5-Pod-Parser>=0:textproc/p5-Pod-Parser
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list