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
This commit is contained in:
Mathieu Arnold 2020-07-20 14:56:23 +00:00
parent bf3db438d8
commit 91f50b4829
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542642
8 changed files with 20 additions and 25 deletions

View File

@ -167,6 +167,13 @@ IGNORE= has unknown USE_PERL5 components: ${_USE_PERL5_UNKNOWN}
. 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)

View File

@ -14,7 +14,8 @@ COMMENT= Configurable tool to check collections of audio files
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

View File

@ -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

View File

@ -199,12 +199,6 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-clients-vistest-wscript
.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>

View File

@ -18,6 +18,7 @@ BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local s
.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 \

View File

@ -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

View File

@ -11,7 +11,8 @@ COMMENT= Brings gettext translation tools to all kinds of docs
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-ReadKey \
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>

View File

@ -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>