pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 25 07:29:47 UTC 2023

Modified Files:
        pkgsrc/lang/perl5: Makefile Makefile.common distinfo hacks.mk
            options.mk packlist.mk

Log Message:
perl5: updated to 5.36.1

perl v5.36.1

Incompatible Changes
       There are no changes intentionally incompatible with 5.36.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
       •   Module::CoreList has been upgraded from version 5.20220520 to 5.20230423.

Configuration and Compilation
       •   "Configure" probed for the return type of malloc() and free() by testing whether declarations for those
           functions produced a function type mismatch with the implementation.  On Solaris, with a C++ compiler,
           this check always failed, since Solaris instead imports malloc() and free() from "std::" with "using"
           for C++ builds.  Since the return types of malloc() and free() are well defined by the C standard, skip
           probing for them.  "Configure" command-line arguments and hints can still override these type in the
           unlikely case that is needed.

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

Selected Bug Fixes
       •   An eval() as the last statement in a regex code block could trigger an interpreter panic; e.g.

               /(?{ ...; eval {....}; })/

       •   An "eval EXPR" referring to a lexical sub defined in grandparent scope no longer produces an assertion
           failures.

       •   Writing to a magic variables associated with the selected output handle, $^, $~, $=, "$-" and $%, no
           longer crashes perl if the IO object has been cleared from the selected output handle.


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 pkgsrc/lang/perl5/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/lang/perl5/Makefile.common
cvs rdiff -u -r1.177 -r1.178 pkgsrc/lang/perl5/distinfo
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/perl5/hacks.mk
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/perl5/options.mk
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/perl5/packlist.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/perl5/Makefile
diff -u pkgsrc/lang/perl5/Makefile:1.275 pkgsrc/lang/perl5/Makefile:1.276
--- pkgsrc/lang/perl5/Makefile:1.275    Fri Apr  1 16:39:12 2022
+++ pkgsrc/lang/perl5/Makefile  Tue Apr 25 07:29:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.275 2022/04/01 16:39:12 wiz Exp $
+# $NetBSD: Makefile,v 1.276 2023/04/25 07:29:47 adam Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -105,7 +105,7 @@ MAKE_FILE=  GNUmakefile
 # work around until the actual problem can be fixed as this worked for
 # Darwin < 9.0.
 #
-.if empty(MACHINE_PLATFORM:MDarwin-9.*-*)
+.if !${MACHINE_PLATFORM:MDarwin-9.*-*}
 CONFIGURE_ARGS+=       -Duseshrplib
 .endif
 

Index: pkgsrc/lang/perl5/Makefile.common
diff -u pkgsrc/lang/perl5/Makefile.common:1.45 pkgsrc/lang/perl5/Makefile.common:1.46
--- pkgsrc/lang/perl5/Makefile.common:1.45      Tue Jun 28 10:02:51 2022
+++ pkgsrc/lang/perl5/Makefile.common   Tue Apr 25 07:29:47 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.45 2022/06/28 10:02:51 wiz Exp $
+# $NetBSD: Makefile.common,v 1.46 2023/04/25 07:29:47 adam Exp $
 #
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=      perl-5.36.0
+DISTNAME=      perl-5.36.1
 CATEGORIES=    lang devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}

Index: pkgsrc/lang/perl5/distinfo
diff -u pkgsrc/lang/perl5/distinfo:1.177 pkgsrc/lang/perl5/distinfo:1.178
--- pkgsrc/lang/perl5/distinfo:1.177    Tue Jun 28 10:02:51 2022
+++ pkgsrc/lang/perl5/distinfo  Tue Apr 25 07:29:47 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.177 2022/06/28 10:02:51 wiz Exp $
+$NetBSD: distinfo,v 1.178 2023/04/25 07:29:47 adam Exp $
 
-BLAKE2s (perl-5.36.0.tar.xz) = 419158b0be2c49e29915a098b626598effa54d84ed925255eb679b3bf1e5a67b
-SHA512 (perl-5.36.0.tar.xz) = 6dd6ac2a77566c173c5ab9c238cf555f2c3e592e89abb5600bc23ce1cbd0c349e0233f6417cbbf1f6d0aefc6a734ba491285af0d3dc68a605b658b65c89f1dab
-Size (perl-5.36.0.tar.xz) = 13051500 bytes
+BLAKE2s (perl-5.36.1.tar.xz) = d1bfb3348be21613b3bde6246682ba15afe58d2dd786e99ffa8325ee368256c3
+SHA512 (perl-5.36.1.tar.xz) = 8d1ec654c59d078bfc477f11c9526233199a85e4d4f6f5a55bf9eb7802cd355189c669cc6785d2d5e741c1de4d740b7a0cfd3c0198122586a07ac7f527fb14af
+Size (perl-5.36.1.tar.xz) = 13053604 bytes
 SHA1 (patch-Configure) = a72983dba63f32f57418f2702b039585ba7236a7
 SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
 SHA1 (patch-caretx.c) = b76b4175a58123fa4dfd2adf36b2207dcb6cf65a

Index: pkgsrc/lang/perl5/hacks.mk
diff -u pkgsrc/lang/perl5/hacks.mk:1.26 pkgsrc/lang/perl5/hacks.mk:1.27
--- pkgsrc/lang/perl5/hacks.mk:1.26     Mon Aug 31 18:00:37 2020
+++ pkgsrc/lang/perl5/hacks.mk  Tue Apr 25 07:29:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.26 2020/08/31 18:00:37 wiz Exp $
+# $NetBSD: hacks.mk,v 1.27 2023/04/25 07:29:47 adam Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
@@ -26,8 +26,8 @@ BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-Os
 ### [Fri Oct 28 11:53:57 EDT 2016 : dholland - extended to gcc5]
 ### gcc-[45].*.* in NetBSD/alpha causes unaligned access exception in perl.
 ### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
-.if (!empty(MACHINE_PLATFORM:MNetBSD-*-alpha) || !empty(MACHINE_PLATFORM:MOpenBSD-*-alpha)) \
-       && !empty(CC_VERSION:Mgcc-[45].*.*)
+.if (${MACHINE_PLATFORM:MNetBSD-*-alpha} || ${MACHINE_PLATFORM:MOpenBSD-*-alpha}) \
+       && ${CC_VERSION:Mgcc-[45].*.*}
 # XXX: is there any good way to replace the default -O2 with multiple args?
 PKG_HACKS+=            alpha-optimisation
 #BUILDLINK_TRANSFORM+= opt:-O[2-9]*:-O2 -fno-tree-ter
@@ -47,7 +47,7 @@ LDFLAGS+=     ${COMPILER_RPATH_FLAG}/usr/sfw
 ### On NetBSD/{mips,vax,sparc64}, the -freorder-blocks option in -O2
 ### causes opmini.c to be miscompiled, and perl build fails.
 ###
-.if !empty(CC_VERSION:Mgcc-4.5.*) && ${OPSYS} == "NetBSD"
+.if ${CC_VERSION:Mgcc-4.5.*} && ${OPSYS} == "NetBSD"
 .  if (${MACHINE_ARCH} == "vax" ||     \
        ${MACHINE_CPU} == "mips" ||     \
        ${MACHINE_ARCH} == "sparc" ||   \

Index: pkgsrc/lang/perl5/options.mk
diff -u pkgsrc/lang/perl5/options.mk:1.17 pkgsrc/lang/perl5/options.mk:1.18
--- pkgsrc/lang/perl5/options.mk:1.17   Mon Nov 29 16:26:36 2021
+++ pkgsrc/lang/perl5/options.mk        Tue Apr 25 07:29:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2021/11/29 16:26:36 jperkin Exp $
+# $NetBSD: options.mk,v 1.18 2023/04/25 07:29:47 adam Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.perl
 PKG_OPTIONS_REQUIRED_GROUPS=   perlbits
@@ -10,7 +10,7 @@ CHECK_BUILTIN.pthread:=       yes
 CHECK_BUILTIN.pthread:=        no
 
 # By default, build with threads only if the threads are native.
-.if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
+.if ${USE_BUILTIN.pthread:tl} == yes
 PERL5_BUILD_THREADS_SUPPORT=   yes
 .else
 PERL5_BUILD_THREADS_SUPPORT=   ${DLOPEN_REQUIRE_PTHREADS}
@@ -19,7 +19,7 @@ PERL5_BUILD_THREADS_SUPPORT=  ${DLOPEN_RE
 ### from KNOWN PROBLEMS in README.haiku
 ### Perl cannot be compiled with threading support ATM.
 ###
-.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
+.if ${MACHINE_PLATFORM:MHaiku-*-*}
 PERL5_BUILD_THREADS_SUPPORT=   no
 .endif
 

Index: pkgsrc/lang/perl5/packlist.mk
diff -u pkgsrc/lang/perl5/packlist.mk:1.21 pkgsrc/lang/perl5/packlist.mk:1.22
--- pkgsrc/lang/perl5/packlist.mk:1.21  Sun Nov  3 19:04:05 2019
+++ pkgsrc/lang/perl5/packlist.mk       Tue Apr 25 07:29:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: packlist.mk,v 1.21 2019/11/03 19:04:05 rillig Exp $
+# $NetBSD: packlist.mk,v 1.22 2023/04/25 07:29:47 adam Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # create packlist files.  This file is automatically included by
@@ -28,7 +28,7 @@ _PERL5_PACKLIST_MK=   # defined
 .include "../../mk/bsd.prefs.mk"
 
 PERL5_USE_PACKLIST?=   yes
-.if !empty(PERL5_USE_PACKLIST:M[Yy][Ee][Ss])
+.if ${PERL5_USE_PACKLIST:tl} == yes"
 # XXX: still experimental, but many packages already work
 #PERL5_PACKLIST?=      auto/${DISTNAME:C/-[0-9].*$//:C,-,/,g}/.packlist
 .endif



Home | Main Index | Thread Index | Old Index