Mon Jan 25 09:33:19 2021 UTC ()
perl: update to 5.32.1.

Incompatible Changes

There are no changes intentionally incompatible with Perl 5.32.0.
If any exist, they are bugs, and we request that you submit a
report. See "Reporting Bugs" below.

Modules and Pragmata

Updated Modules and Pragmata

    Data::Dumper has been upgraded from version 2.174 to 2.174_01.

    A number of memory leaks have been fixed.

    DynaLoader has been upgraded from version 1.47 to 1.47_01.

    Module::CoreList has been upgraded from version 5.20200620 to
    5.20210123.

    Opcode has been upgraded from version 1.47 to 1.48.

    A warning has been added about evaluating untrusted code with
    the perl interpreter.

    Safe has been upgraded from version 2.41 to 2.41_01.

    A warning has been added about evaluating untrusted code with
    the perl interpreter.

Documentation

New Documentation

perlgov

Documentation of the newly formed rules of governance for Perl.

perlsecpolicy

Documentation of how the Perl security team operates and how the
team evaluates new security reports.

Changes to Existing Documentation

We have attempted to update the documentation to reflect the changes
listed in this document. If you find any we have missed, open an
issue at https://github.com/Perl/perl5/issues.

Additionally, the following selected changes have been made:

perlop

    Document range op behaviour change.

Diagnostics

The following additions or changes have been made to diagnostic
output, including warnings and fatal error messages. For the complete
list of diagnostic messages, see perldiag.

Changes to Existing Diagnostics

    \K not permitted in lookahead/lookbehind in regex; marked by
    <-- HERE in m/%s/

    This error was incorrectly produced in some cases involving
    nested lookarounds. This has been fixed.

    [GH #18123]

Configuration and Compilation

    Newer 64-bit versions of the Intel C/C++ compiler are now
    recognized and have the correct flags set.

    We now trap SIGBUS when Configure checks for va_copy.

    On several systems the attempt to determine if we need va_copy
    or similar results in a SIGBUS instead of the expected SIGSEGV,
    which previously caused a core dump.

    [GH #18148]

Testing

Tests were added and changed to reflect the other additions and
changes in this release.

Platform Support

Platform-Specific Notes

MacOS (Darwin)

    The hints file for darwin has been updated to handle future
    macOS versions beyond 10. Perl can now be built on macOS Big
    Sur.

    [GH #17946, GH #18406] Minix

    Build errors on Minix have been fixed.

    [GH #17908]

Selected Bug Fixes

    Some list assignments involving undef on the left-hand side
    were over-optimized and produced incorrect results.

    [GH #16685, GH #17816]

    Fixed a bug in which some regexps with recursive subpatterns
    matched incorrectly.

    [GH #18096]

    Fixed a deadlock that hung the build when Perl is compiled for
    debugging memory problems and has PERL_MEM_LOG enabled.

    [GH #18341]

    Fixed a crash in the use of chained comparison operators when
    run under "no warnings 'uninitialized'".

    [GH #17917, GH #18380]

    Exceptions thrown from destructors during global destruction
    are no longer swallowed.

    [GH #18063]


(wiz)
diff -r1.267 -r1.268 pkgsrc/lang/perl5/Makefile
diff -r1.41 -r1.42 pkgsrc/lang/perl5/Makefile.common
diff -r1.167 -r1.168 pkgsrc/lang/perl5/distinfo
diff -r1.8 -r0 pkgsrc/lang/perl5/patches/patch-hints_darwin.sh

cvs diff -r1.267 -r1.268 pkgsrc/lang/perl5/Makefile (switch to unified diff)

--- pkgsrc/lang/perl5/Makefile 2020/09/04 14:07:51 1.267
+++ pkgsrc/lang/perl5/Makefile 2021/01/25 09:33:19 1.268
@@ -1,252 +1,250 @@ @@ -1,252 +1,250 @@
1# $NetBSD: Makefile,v 1.267 2020/09/04 14:07:51 wiz Exp $ 1# $NetBSD: Makefile,v 1.268 2021/01/25 09:33:19 wiz Exp $
2 2
3.include "license.mk" 3.include "license.mk"
4.include "Makefile.common" 4.include "Makefile.common"
5 5
6PKGREVISION= 1 
7 
8COMMENT= Practical Extraction and Report Language 6COMMENT= Practical Extraction and Report Language
9 7
10CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]* 8CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]*
11 9
12# when updating perl, you can remove packages that are included 10# when updating perl, you can remove packages that are included
13# in perl core, see 11# in perl core, see
14# corelist -diff ${PREV_PKGVERSION} ${PKGVERSION} 12# corelist -diff ${PREV_PKGVERSION} ${PKGVERSION}
15 13
16SUPERSEDES+= p5-Tie-File<=0.99 14SUPERSEDES+= p5-Tie-File<=0.99
17SUPERSEDES+= p5-Time-HiRes-[0-9]* 15SUPERSEDES+= p5-Time-HiRes-[0-9]*
18SUPERSEDES+= p5-DB_File-[0-9]* 16SUPERSEDES+= p5-DB_File-[0-9]*
19SUPERSEDES+= p5-Memoize<=1.03 17SUPERSEDES+= p5-Memoize<=1.03
20SUPERSEDES+= p5-I18N-LangTags<=0.39 18SUPERSEDES+= p5-I18N-LangTags<=0.39
21SUPERSEDES+= p5-Locale-Maketext<=1.23 19SUPERSEDES+= p5-Locale-Maketext<=1.23
22SUPERSEDES+= p5-experimental<=0.007 20SUPERSEDES+= p5-experimental<=0.007
23 21
24# XXX: requires that gcc use an external perl to avoid circular dependencies 22# XXX: requires that gcc use an external perl to avoid circular dependencies
25USE_GCC_RUNTIME= yes 23USE_GCC_RUNTIME= yes
26USE_LANGUAGES= c c99 24USE_LANGUAGES= c c99
27 25
28.include "../../mk/bsd.prefs.mk" 26.include "../../mk/bsd.prefs.mk"
29 27
30# Determine the Perl API version from the patchlevel.h file from the 28# Determine the Perl API version from the patchlevel.h file from the
31# source distribution. 29# source distribution.
32# 30#
33PERL5_API_VERS= ${PERL5_API_VERS_cmd:sh} 31PERL5_API_VERS= ${PERL5_API_VERS_cmd:sh}
34PERL5_API_VERS_cmd= \ 32PERL5_API_VERS_cmd= \
35 if ${TEST} -f ${WRKSRC}/patchlevel.h; then \ 33 if ${TEST} -f ${WRKSRC}/patchlevel.h; then \
36 ${AWK} '/\#define[ ]*PERL_API_REVISION/ { R = $$3 }\ 34 ${AWK} '/\#define[ ]*PERL_API_REVISION/ { R = $$3 }\
37 /\#define[ ]*PERL_API_VERSION/ { r = "."$$3 } \ 35 /\#define[ ]*PERL_API_VERSION/ { r = "."$$3 } \
38 /\#define[ ]*PERL_API_SUBVERSION/ { s = "."$$3 } \ 36 /\#define[ ]*PERL_API_SUBVERSION/ { s = "."$$3 } \
39 END { printf "%s%s%s\n", R, r, s }' \ 37 END { printf "%s%s%s\n", R, r, s }' \
40 ${WRKSRC}/patchlevel.h; \ 38 ${WRKSRC}/patchlevel.h; \
41 else \ 39 else \
42 ${ECHO} "unknown"; \ 40 ${ECHO} "unknown"; \
43 fi 41 fi
44 42
45.include "dirs.mk" 43.include "dirs.mk"
46 44
47.include "../../mk/compiler.mk" 45.include "../../mk/compiler.mk"
48 46
49HAS_CONFIGURE= yes 47HAS_CONFIGURE= yes
50CONFIGURE_SCRIPT= ./Configure 48CONFIGURE_SCRIPT= ./Configure
51CONFIGURE_ARGS+= -sde 49CONFIGURE_ARGS+= -sde
52CONFIGURE_ARGS+= -Dldflags=${LDFLAGS:Q} 50CONFIGURE_ARGS+= -Dldflags=${LDFLAGS:Q}
53MAKE_ENV+= LC_ALL="C" 51MAKE_ENV+= LC_ALL="C"
54LDFLAGS.QNX+= -lm 52LDFLAGS.QNX+= -lm
55 53
56.if ${OPSYS} == "SunOS" 54.if ${OPSYS} == "SunOS"
57USE_TOOLS+= bash 55USE_TOOLS+= bash
58CONFIG_SHELL= ${TOOLS_PATH.bash} 56CONFIG_SHELL= ${TOOLS_PATH.bash}
59.endif 57.endif
60 58
61TEST_TARGET= test 59TEST_TARGET= test
62 60
63# Policy.sh generation 61# Policy.sh generation
64# (see comments in files/Policy.sh) 62# (see comments in files/Policy.sh)
65SUBST_CLASSES+= policysh 63SUBST_CLASSES+= policysh
66SUBST_STAGE.policysh= pre-configure 64SUBST_STAGE.policysh= pre-configure
67SUBST_FILES.policysh= Policy.sh 65SUBST_FILES.policysh= Policy.sh
68SUBST_VARS.policysh+= MACHINE_ARCH 66SUBST_VARS.policysh+= MACHINE_ARCH
69SUBST_VARS.policysh+= LOWER_OPSYS 67SUBST_VARS.policysh+= LOWER_OPSYS
70SUBST_VARS.policysh+= OBJECT_FMT 68SUBST_VARS.policysh+= OBJECT_FMT
71SUBST_VARS.policysh+= CC 69SUBST_VARS.policysh+= CC
72SUBST_VARS.policysh+= CFLAGS 70SUBST_VARS.policysh+= CFLAGS
73SUBST_VARS.policysh+= LDFLAGS 71SUBST_VARS.policysh+= LDFLAGS
74SUBST_VARS.policysh+= COMPILER_RPATH_FLAG 72SUBST_VARS.policysh+= COMPILER_RPATH_FLAG
75SUBST_VARS.policysh+= PERL5_PREFIX 73SUBST_VARS.policysh+= PERL5_PREFIX
76SUBST_VARS.policysh+= PERL5_SITEPREFIX 74SUBST_VARS.policysh+= PERL5_SITEPREFIX
77SUBST_VARS.policysh+= PERL5_VENDORPREFIX 75SUBST_VARS.policysh+= PERL5_VENDORPREFIX
78SUBST_VARS.policysh+= PERL5_PERLBASE 76SUBST_VARS.policysh+= PERL5_PERLBASE
79SUBST_VARS.policysh+= PERL5_SITEBASE 77SUBST_VARS.policysh+= PERL5_SITEBASE
80SUBST_VARS.policysh+= PERL5_SITEBIN 78SUBST_VARS.policysh+= PERL5_SITEBIN
81SUBST_VARS.policysh+= PERL5_VENDORBASE 79SUBST_VARS.policysh+= PERL5_VENDORBASE
82SUBST_VARS.policysh+= PERL5_PRIVLIB 80SUBST_VARS.policysh+= PERL5_PRIVLIB
83SUBST_VARS.policysh+= PERL5_SITELIB 81SUBST_VARS.policysh+= PERL5_SITELIB
84SUBST_VARS.policysh+= PERL5_VENDORLIB 82SUBST_VARS.policysh+= PERL5_VENDORLIB
85SUBST_VARS.policysh+= PKGMANDIR 83SUBST_VARS.policysh+= PKGMANDIR
86SUBST_VARS.policysh+= LOCALBASE 84SUBST_VARS.policysh+= LOCALBASE
87SUBST_VARS.policysh+= PTHREAD_LDFLAGS 85SUBST_VARS.policysh+= PTHREAD_LDFLAGS
88 86
89# Avoid the ${TOOLS_BIN} path getting written to installed files. 87# Avoid the ${TOOLS_BIN} path getting written to installed files.
90SUBST_CLASSES+= toolsbin 88SUBST_CLASSES+= toolsbin
91SUBST_STAGE.toolsbin= pre-configure 89SUBST_STAGE.toolsbin= pre-configure
92SUBST_FILES.toolsbin= Configure 90SUBST_FILES.toolsbin= Configure
93SUBST_VARS.toolsbin= TOOLS_RM 91SUBST_VARS.toolsbin= TOOLS_RM
94 92
95.if ${OPSYS} == "Darwin" || ${OPSYS} == "Cygwin" 93.if ${OPSYS} == "Darwin" || ${OPSYS} == "Cygwin"
96# 94#
97# The Perl build attempts to work around case-insensitivity problems on 95# The Perl build attempts to work around case-insensitivity problems on
98# HFS filesystems by using GNUmakefiles, so we need to use GNU make. 96# HFS filesystems by using GNUmakefiles, so we need to use GNU make.
99# 97#
100USE_TOOLS+= gmake 98USE_TOOLS+= gmake
101MAKE_FILE= GNUmakefile 99MAKE_FILE= GNUmakefile
102.endif 100.endif
103 101
104# 102#
105# For the moment disable the building of a shared libperl.dylib on Darwin 103# For the moment disable the building of a shared libperl.dylib on Darwin
106# => 9.0 as it breaks the build. This should just be considered a temporary 104# => 9.0 as it breaks the build. This should just be considered a temporary
107# work around until the actual problem can be fixed as this worked for 105# work around until the actual problem can be fixed as this worked for
108# Darwin < 9.0. 106# Darwin < 9.0.
109# 107#
110.if empty(MACHINE_PLATFORM:MDarwin-9.*-*) 108.if empty(MACHINE_PLATFORM:MDarwin-9.*-*)
111CONFIGURE_ARGS+= -Duseshrplib 109CONFIGURE_ARGS+= -Duseshrplib
112.endif 110.endif
113 111
114# Perl embeds the full paths to the following tools in several installed 112# Perl embeds the full paths to the following tools in several installed
115# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used. 113# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
116# 114#
117USE_TOOLS+= hostname ln rm sed test 115USE_TOOLS+= hostname ln rm sed test
118SUBST_VARS.policysh+= TOOLS_HOSTNAME_CMD 116SUBST_VARS.policysh+= TOOLS_HOSTNAME_CMD
119SUBST_VARS.policysh+= TOOLS_LN 117SUBST_VARS.policysh+= TOOLS_LN
120TOOLS_ALIASES.sed= ${TOOLS_SED:T} 118TOOLS_ALIASES.sed= ${TOOLS_SED:T}
121SUBST_VARS.policysh+= TOOLS_SED 119SUBST_VARS.policysh+= TOOLS_SED
122SUBST_VARS.policysh+= TOOLS_SH 120SUBST_VARS.policysh+= TOOLS_SH
123SUBST_VARS.policysh+= TOOLS_TEST 121SUBST_VARS.policysh+= TOOLS_TEST
124SUBST_VARS.policysh+= FALSE 122SUBST_VARS.policysh+= FALSE
125 123
126# Nail down the needed libraries for each platform here to avoid hidden 124# Nail down the needed libraries for each platform here to avoid hidden
127# dependencies. If this isn't defined, then use the perl defaults for the 125# dependencies. If this isn't defined, then use the perl defaults for the
128# particular operating system. 126# particular operating system.
129# 127#
130LIBSWANTED.Bitrig= m crypt 128LIBSWANTED.Bitrig= m crypt
131LIBSWANTED.Cygwin= m crypt dl 129LIBSWANTED.Cygwin= m crypt dl
132LIBSWANTED.Darwin= m c 130LIBSWANTED.Darwin= m c
133LIBSWANTED.DragonFly= m crypt 131LIBSWANTED.DragonFly= m crypt
134LIBSWANTED.FreeBSD= m crypt 132LIBSWANTED.FreeBSD= m crypt
135LIBSWANTED.GNUkFreeBSD= m crypt dl nsl 133LIBSWANTED.GNUkFreeBSD= m crypt dl nsl
136LIBSWANTED.Haiku= network 134LIBSWANTED.Haiku= network
137LIBSWANTED.HPUX= cl pthread $$libswanted # see Perl's README.hpux 135LIBSWANTED.HPUX= cl pthread $$libswanted # see Perl's README.hpux
138LIBSWANTED.IRIX= m crypt 136LIBSWANTED.IRIX= m crypt
139LIBSWANTED.Interix= m dl 137LIBSWANTED.Interix= m dl
140LIBSWANTED.Linux= m crypt dl nsl 138LIBSWANTED.Linux= m crypt dl nsl
141LIBSWANTED.Minix= m crypt c 139LIBSWANTED.Minix= m crypt c
142LIBSWANTED.MirBSD= m crypt 140LIBSWANTED.MirBSD= m crypt
143LIBSWANTED.NetBSD= m crypt 141LIBSWANTED.NetBSD= m crypt
144LIBSWANTED.OpenBSD= m crypt 142LIBSWANTED.OpenBSD= m crypt
145LIBSWANTED.SunOS= m crypt dl socket nsl 143LIBSWANTED.SunOS= m crypt dl socket nsl
146LIBSWANTED.AIX= m crypt dl socket nsl bind c 144LIBSWANTED.AIX= m crypt dl socket nsl bind c
147LIBSWANTED.SCO_SV= m crypt socket 145LIBSWANTED.SCO_SV= m crypt socket
148LIBSWANTED= ${LIBSWANTED.${OPSYS}} 146LIBSWANTED= ${LIBSWANTED.${OPSYS}}
149SUBST_VARS.policysh+= LIBSWANTED 147SUBST_VARS.policysh+= LIBSWANTED
150 148
151# Nail down the directories in which the system libraries may be found. 149# Nail down the directories in which the system libraries may be found.
152# If this isn't defined, then use the perl defaults for the particular 150# If this isn't defined, then use the perl defaults for the particular
153# operating system. 151# operating system.
154# 152#
155SYSLIBPATH.Bitrig= /usr/lib 153SYSLIBPATH.Bitrig= /usr/lib
156SYSLIBPATH.Cygwin= /usr/lib 154SYSLIBPATH.Cygwin= /usr/lib
157SYSLIBPATH.Darwin= /usr/lib 155SYSLIBPATH.Darwin= /usr/lib
158SYSLIBPATH.DragonFly= /usr/lib 156SYSLIBPATH.DragonFly= /usr/lib
159SYSLIBPATH.FreeBSD= /usr/lib 157SYSLIBPATH.FreeBSD= /usr/lib
160SYSLIBPATH.Interix= /usr/lib 158SYSLIBPATH.Interix= /usr/lib
161SYSLIBPATH.Minix= /usr/lib 159SYSLIBPATH.Minix= /usr/lib
162SYSLIBPATH.MirBSD= /usr/lib 160SYSLIBPATH.MirBSD= /usr/lib
163SYSLIBPATH.NetBSD= /usr/lib 161SYSLIBPATH.NetBSD= /usr/lib
164SYSLIBPATH.OpenBSD= /usr/lib 162SYSLIBPATH.OpenBSD= /usr/lib
165SYSLIBPATH.SunOS= /usr/lib 163SYSLIBPATH.SunOS= /usr/lib
166SYSLIBPATH.AIX= /usr/lib 164SYSLIBPATH.AIX= /usr/lib
167SYSLIBPATH.SCO_SV= /usr/lib 165SYSLIBPATH.SCO_SV= /usr/lib
168SYSLIBPATH= ${SYSLIBPATH.${OPSYS}:U${COMPILER_LIB_DIRS}} 166SYSLIBPATH= ${SYSLIBPATH.${OPSYS}:U${COMPILER_LIB_DIRS}}
169SUBST_VARS.policysh+= SYSLIBPATH 167SUBST_VARS.policysh+= SYSLIBPATH
170 168
171.include "../../mk/dlopen.buildlink3.mk" 169.include "../../mk/dlopen.buildlink3.mk"
172.include "options.mk" 170.include "options.mk"
173 171
174.if ${MACHINE_PLATFORM} == "MirBSD" 172.if ${MACHINE_PLATFORM} == "MirBSD"
175SUBST_CLASSES+= mirbsd-paths 173SUBST_CLASSES+= mirbsd-paths
176SUBST_STAGE.mirbsd-paths= pre-configure 174SUBST_STAGE.mirbsd-paths= pre-configure
177SUBST_FILES.mirbsd-paths= hints/mirbsd.sh 175SUBST_FILES.mirbsd-paths= hints/mirbsd.sh
178SUBST_SED.mirbsd-paths= -e 's,/usr/mpkg,${PREFIX},g' 176SUBST_SED.mirbsd-paths= -e 's,/usr/mpkg,${PREFIX},g'
179SUBST_MESSAGE.mirbsd-paths= Do not use non-pkgsrc paths on MirBSD. 177SUBST_MESSAGE.mirbsd-paths= Do not use non-pkgsrc paths on MirBSD.
180.endif 178.endif
181 179
182# Replace our perl as the interpreter 180# Replace our perl as the interpreter
183REPLACE_PERL+= cpan/Config-Perl-V/V.pm 181REPLACE_PERL+= cpan/Config-Perl-V/V.pm
184REPLACE_PERL+= cpan/Getopt-Long/lib/Getopt/Long.pm 182REPLACE_PERL+= cpan/Getopt-Long/lib/Getopt/Long.pm
185REPLACE_PERL+= cpan/version/lib/version.pm 183REPLACE_PERL+= cpan/version/lib/version.pm
186REPLACE_PERL+= dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp 184REPLACE_PERL+= dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp
187REPLACE_PERL+= ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm 185REPLACE_PERL+= ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
188REPLACE_PERL+= ext/File-DosGlob/lib/File/DosGlob.pm 186REPLACE_PERL+= ext/File-DosGlob/lib/File/DosGlob.pm
189REPLACE_PERL+= lib/unicore/mktables 187REPLACE_PERL+= lib/unicore/mktables
190 188
191.if ${PKGSRC_COMPILER:Mxlc} 189.if ${PKGSRC_COMPILER:Mxlc}
192SUBST_CLASSES+= cpprun 190SUBST_CLASSES+= cpprun
193SUBST_STAGE.cpprun= pre-install 191SUBST_STAGE.cpprun= pre-install
194SUBST_FILES.cpprun= lib/Config_heavy.pl 192SUBST_FILES.cpprun= lib/Config_heavy.pl
195. if !empty(PKG_OPTIONS:Mthreads) 193. if !empty(PKG_OPTIONS:Mthreads)
196SUBST_SED.cpprun= -e "s/cpprun=''/cpprun='cc_r -E'/" 194SUBST_SED.cpprun= -e "s/cpprun=''/cpprun='cc_r -E'/"
197. else 195. else
198SUBST_SED.cpprun= -e "s/cpprun=''/cpprun='cc -E'/" 196SUBST_SED.cpprun= -e "s/cpprun=''/cpprun='cc -E'/"
199. endif 197. endif
200.endif 198.endif
201 199
202# Some platforms may want the directory mode not to be 0755. This 200# Some platforms may want the directory mode not to be 0755. This
203# is, unfortunately, hardcoded in quite a few places in Perl, so 201# is, unfortunately, hardcoded in quite a few places in Perl, so
204# let's substitute what pkgsrc says instead. 202# let's substitute what pkgsrc says instead.
205# 203#
206SUBST_CLASSES+= dirmode 204SUBST_CLASSES+= dirmode
207SUBST_STAGE.dirmode= pre-configure 205SUBST_STAGE.dirmode= pre-configure
208SUBST_FILES.dirmode= install_lib.pl 206SUBST_FILES.dirmode= install_lib.pl
209SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d" 207SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d"
210 208
211post-extract: 209post-extract:
212 ${CP} ${FILESDIR}/Policy.sh ${WRKSRC}/Policy.sh 210 ${CP} ${FILESDIR}/Policy.sh ${WRKSRC}/Policy.sh
213 211
214pre-configure: 212pre-configure:
215 ${FIND} ${WRKSRC} -name "*.orig" -type f -exec rm -f {} \; 213 ${FIND} ${WRKSRC} -name "*.orig" -type f -exec rm -f {} \;
216 214
217post-build: 215post-build:
218 ${SED} -e "s,@PERL5@,"${PERL5:Q}",g" \ 216 ${SED} -e "s,@PERL5@,"${PERL5:Q}",g" \
219 -e "s,@SH@,"${SH:Q}",g" \ 217 -e "s,@SH@,"${SH:Q}",g" \
220 -e "s,@PKGMANDIR@,"${PKGMANDIR}",g" \ 218 -e "s,@PKGMANDIR@,"${PKGMANDIR}",g" \
221 ${FILESDIR}/perllink.in > ${WRKDIR}/perllink.sh 219 ${FILESDIR}/perllink.in > ${WRKDIR}/perllink.sh
222 220
223INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 221INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
224PERL5_PACKLIST_DIR_cmd= . ${WRKSRC}/config.sh; echo $$installarchlib 222PERL5_PACKLIST_DIR_cmd= . ${WRKSRC}/config.sh; echo $$installarchlib
225PERL5_PACKLIST_DIR= ${PERL5_PACKLIST_DIR_cmd:sh} 223PERL5_PACKLIST_DIR= ${PERL5_PACKLIST_DIR_cmd:sh}
226PERL5_PACKLIST= .packlist 224PERL5_PACKLIST= .packlist
227PERL5_PACKLIST_DESTDIR= no 225PERL5_PACKLIST_DESTDIR= no
228FILES_SUBST+= PERL5_COMMENT=\# 226FILES_SUBST+= PERL5_COMMENT=\#
229FILES_SUBST+= PERL5_PACKLIST= 227FILES_SUBST+= PERL5_PACKLIST=
230 228
231.PHONY: perl5-post-install 229.PHONY: perl5-post-install
232post-install: perl5-post-install 230post-install: perl5-post-install
233perl5-post-install: 231perl5-post-install:
234 ${RUN}if ${TEST} -x ${DESTDIR}${PREFIX}/bin/a2p; then \ 232 ${RUN}if ${TEST} -x ${DESTDIR}${PREFIX}/bin/a2p; then \
235 strip ${DESTDIR}${PREFIX}/bin/a2p; \ 233 strip ${DESTDIR}${PREFIX}/bin/a2p; \
236 fi 234 fi
237 ${INSTALL_SCRIPT} ${WRKDIR}/perllink.sh \ 235 ${INSTALL_SCRIPT} ${WRKDIR}/perllink.sh \
238 ${DESTDIR}${PERL5_PERLBASE}/bin/perllink 236 ${DESTDIR}${PERL5_PERLBASE}/bin/perllink
239 ${INSTALL_MAN} ${FILESDIR}/perllink.1 \ 237 ${INSTALL_MAN} ${FILESDIR}/perllink.1 \
240 ${DESTDIR}${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1 238 ${DESTDIR}${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1
241 ${RM} -f ${DESTDIR}${PREFIX}/bin/perllink \ 239 ${RM} -f ${DESTDIR}${PREFIX}/bin/perllink \
242 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1 240 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1
243 ${LN} -s ${PERL5_PERLBASE}/bin/perllink \ 241 ${LN} -s ${PERL5_PERLBASE}/bin/perllink \
244 ${DESTDIR}${PREFIX}/bin/perllink 242 ${DESTDIR}${PREFIX}/bin/perllink
245 ${LN} -s ${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1 \ 243 ${LN} -s ${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1 \
246 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1 244 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1
247.if ${OPSYS} == "Haiku" 245.if ${OPSYS} == "Haiku"
248 ${CHMOD} a+x ${DESTDIR}${PREFIX}/bin/perl 246 ${CHMOD} a+x ${DESTDIR}${PREFIX}/bin/perl
249.endif 247.endif
250 248
251.include "packlist.mk" 249.include "packlist.mk"
252.include "../../mk/bsd.pkg.mk" 250.include "../../mk/bsd.pkg.mk"

cvs diff -r1.41 -r1.42 pkgsrc/lang/perl5/Makefile.common (switch to unified diff)

--- pkgsrc/lang/perl5/Makefile.common 2020/08/31 18:00:37 1.41
+++ pkgsrc/lang/perl5/Makefile.common 2021/01/25 09:33:19 1.42
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.41 2020/08/31 18:00:37 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.42 2021/01/25 09:33:19 wiz Exp $
2# 2#
3# used by lang/perl5/Makefile 3# used by lang/perl5/Makefile
4# used by databases/p5-gdbm/Makefile 4# used by databases/p5-gdbm/Makefile
5 5
6DISTNAME= perl-5.32.0 6DISTNAME= perl-5.32.1
7CATEGORIES= lang devel perl5 7CATEGORIES= lang devel perl5
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,} 8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
9DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} 9DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
10EXTRACT_SUFX= .tar.xz 10EXTRACT_SUFX= .tar.xz
11 11
12MAINTAINER= pkgsrc-users@NetBSD.org 12MAINTAINER= pkgsrc-users@NetBSD.org
13HOMEPAGE= https://www.perl.org/ 13HOMEPAGE= https://www.perl.org/
14LICENSE= ${PERL5_LICENSE} 14LICENSE= ${PERL5_LICENSE}

cvs diff -r1.167 -r1.168 pkgsrc/lang/perl5/distinfo (switch to unified diff)

--- pkgsrc/lang/perl5/distinfo 2020/09/17 10:02:20 1.167
+++ pkgsrc/lang/perl5/distinfo 2021/01/25 09:33:19 1.168
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1$NetBSD: distinfo,v 1.167 2020/09/17 10:02:20 mrg Exp $ 1$NetBSD: distinfo,v 1.168 2021/01/25 09:33:19 wiz Exp $
2 2
3SHA1 (perl-5.32.0.tar.xz) = 0426c89d8ad5542def3e0065c299d449230aeb6c 3SHA1 (perl-5.32.1.tar.xz) = 1fb4f710d139da1e1a3e1fa4eaba201fcaa8e18e
4RMD160 (perl-5.32.0.tar.xz) = d28af2b0b2fc762f9d0dbf267f81e16d5657bd60 4RMD160 (perl-5.32.1.tar.xz) = ad9013fa389e3e73940c90b7d4ffd542a0cafc70
5SHA512 (perl-5.32.0.tar.xz) = 1540247415893bbd94dfeede7b4fba6052688dc0bf27ced817f448246fcdc6e9a6486abc34577dec5b00bf02ed607b2d24ccd4977c3b3c51e8e6edfc0b81c760 5SHA512 (perl-5.32.1.tar.xz) = 3443c75aea91f0fe3712fee576239f1946d2301b8f7390b690e2f5d070fe71af8f9fa7769e42086c2d33d5f84370f80368fa9350b4f10cc0ac3e6c1f6209d8f9
6Size (perl-5.32.0.tar.xz) = 12717336 bytes 6Size (perl-5.32.1.tar.xz) = 12610988 bytes
7SHA1 (patch-Configure) = 5a27e10c3d5b4bb8e514480808b6f2fb009ceeb0 7SHA1 (patch-Configure) = 5a27e10c3d5b4bb8e514480808b6f2fb009ceeb0
8SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9 8SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
9SHA1 (patch-Safe.pm) = bfeefb82d4cfe991e3a9a90cd87b894c9f4cc337 9SHA1 (patch-Safe.pm) = bfeefb82d4cfe991e3a9a90cd87b894c9f4cc337
10SHA1 (patch-caretx.c) = b76b4175a58123fa4dfd2adf36b2207dcb6cf65a 10SHA1 (patch-caretx.c) = b76b4175a58123fa4dfd2adf36b2207dcb6cf65a
11SHA1 (patch-cflags.SH) = e940e4452768ccc1bdf21d435094e7efffceb925 11SHA1 (patch-cflags.SH) = e940e4452768ccc1bdf21d435094e7efffceb925
12SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__Unix.pm) = 3a2b39c9eb903e68ef7d03ae448c51c147c19aa1 12SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__Unix.pm) = 3a2b39c9eb903e68ef7d03ae448c51c147c19aa1
13SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470 13SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
14SHA1 (patch-hints_darwin.sh) = 0d7a86950877eab23450e80cd99178cf845be63f 
15SHA1 (patch-hints_linux.sh) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7 14SHA1 (patch-hints_linux.sh) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
16SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646 15SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
17SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e 16SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e
18SHA1 (patch-installperl) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a 17SHA1 (patch-installperl) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a
19SHA1 (patch-numeric.c) = 53dc8da40ad21d97072e8e2000f0a16c3353ff41 18SHA1 (patch-numeric.c) = 53dc8da40ad21d97072e8e2000f0a16c3353ff41

File Deleted: pkgsrc/lang/perl5/patches/Attic/patch-hints_darwin.sh