Update to v5.25.8-128-g74ef8fd.

For some reason, some modules get rebuilt when make install, so move
Config's patching down to post-install.

Changes:	https://github.com/Perl/perl5/compare/v5.25.8-78-gd720149...v5.25.8-128-g74ef8fd
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-01-02 10:49:30 +00:00
parent 6d5e1c462b
commit 05f4e80de5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430349
3 changed files with 12 additions and 11 deletions

View File

@ -30,7 +30,7 @@ TEST_ENV= ${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER} \
USE_GITHUB= yes
GH_ACCOUNT= Perl
GH_PROJECT= perl5
GH_TAGNAME= v5.25.8-78-gd720149
GH_TAGNAME= v5.25.8-128-g74ef8fd
MAKE_JOBS_UNSAFE= yes
@ -41,7 +41,6 @@ OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
OPTIONS_EXCLUDE_FreeBSD_9= DTRACE
.for a in aarch64 arm armeb armv6 mips mips64 mips64el mipsel mipsn32 powerpc \
powerpc64 sparc64
OPTIONS_EXCLUDE_${a}= DTRACE
@ -284,18 +283,21 @@ post-patch:
${WRKSRC}/installperl
.endif
post-build:
post-install:
@${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \
${WRKSRC}/lib/Config_heavy.pl
${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl
@${TOUCH} -r ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl.bak ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl
@${RM} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl.bak
.if ${CC} == /nxb-bin/usr/bin/cc
@${REINPLACE_CMD} -e 's=/nxb-bin==' \
${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl
${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config.pm ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl
# Restore Config.pm's timestamp so that Perl's build system does not think it
# needs to rebuild everything.
@${TOUCH} -r ${WRKSRC}/lib/Config.pm.bak ${WRKSRC}/lib/Config.pm
@${TOUCH} -r ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config.pm.bak ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config.pm
@${TOUCH} -r ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl.bak ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl
@${RM} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config.pm.bak ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/Config_heavy.pl.bak
.endif
post-install:
${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3}
${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto
${MKDIR} ${STAGEDIR}${SITE_PERL}/auto

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1482758953
SHA256 (perl/perl-5.25.8-78_GH0.tar.gz) = 7e6279bb53b5ba410fbf85ceb981894ab86ecec9246dd0e674ad6edbe3008a8d
SIZE (perl/perl-5.25.8-78_GH0.tar.gz) = 18424919
TIMESTAMP = 1483348828
SHA256 (perl/perl-5.25.8-128_GH0.tar.gz) = d98c6bf39c880f8ccc2de19a96b3f443d39de15140a908f05acc463718f884ce
SIZE (perl/perl-5.25.8-128_GH0.tar.gz) = 18428381

View File

@ -109,7 +109,6 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf
%%PRIV_LIB%%/Compress/Zlib.pm
%%PRIV_LIB%%/Config/Extensions.pm
%%PRIV_LIB%%/Config/Perl/V.pm
%%PRIV_LIB%%/Config_heavy.pl.bak
%%PRIV_LIB%%/DB.pm
%%PRIV_LIB%%/DBM_Filter.pm
%%PRIV_LIB%%/DBM_Filter/compress.pm