summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-29 19:41:25 +0000
committerjlam <jlam@pkgsrc.org>2004-12-29 19:41:25 +0000
commit26d50782db4589424fa6e707fe0f38efe73c79ef (patch)
treec2fd614eaa3d7d0676f3a1a71515b02edd9224b6 /lang/perl58
parenta72bed0381626e31135c09a536f999e9131520a9 (diff)
downloadpkgsrc-26d50782db4589424fa6e707fe0f38efe73c79ef.tar.gz
Update lang/perl58 to perl-5.8.6. Selected hanges from version 5.8.5
include: * By default, platforms that have native threads will build a threaded perl. Note that you will likely have to rebuild your Perl modules after this update unless your Perl is already threaded. * The perl interpreter is now more tolerant of UTF-16-encoded scripts. * Several core modules were updated. * Perl has a new -dt command-line flag, which enables threads support in the debugger. * "foreach" on threads::shared array used to be able to crash Perl. This bug has now been fixed. * A regexp in "STDOUT"'s destructor used to coredump, because the regexp pad was already freed. This has been fixed. * Using "delete" on an array no longer leaks memory. A "pop" of an item from a shared array reference no longer causes a leak. * "eval_sv()" failing a taint test could corrupt the stack - this has been fixed. * On platforms with 64 bit pointers numeric comparison operators used to erroneously compare the addresses of references that are overloaded, rather than using the overloaded values. This has been fixed. * From now on all applications embedding perl will behave as if perl were compiled with -DPERL_USE_SAFE_PUTENV.
Diffstat (limited to 'lang/perl58')
-rw-r--r--lang/perl58/Makefile31
-rw-r--r--lang/perl58/distinfo12
-rw-r--r--lang/perl58/patches/patch-ah8
-rw-r--r--lang/perl58/patches/patch-ca10
-rw-r--r--lang/perl58/patches/patch-ci8
5 files changed, 39 insertions, 30 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index a619279cbdf..983e2362c7d 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2004/12/20 13:25:09 grant Exp $
+# $NetBSD: Makefile,v 1.69 2004/12/29 19:41:25 jlam Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -6,31 +6,31 @@
PERL5_SNAPSHOT= # empty
PERL5_RC_VERS= # empty
+PERL5_VERS= 5.8.6
+CATEGORIES= lang devel perl5
+EXTRACT_SUFX= .tar.bz2
+
.if empty(PERL5_SNAPSHOT) && empty(PERL5_RC_VERS)
DISTNAME= perl-${PERL5_VERS}
PKGNAME= perl-${PERL5_VERS}
-PKGREVISION= 6
-SNAPSHOT_SITES= # empty
+PKGREVISION= # empty
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
.else
. if !empty(PERL5_SNAPSHOT)
DISTNAME= perl@${PERL5_SNAPSHOT}
PKGNAME= perl-${PERL5_VERS}beta${PERL5_SNAPSHOT}
-SNAPSHOT_SITES= http://www.iki.fi/jhi/
+MASTER_SITES= http://www.iki.fi/jhi/
EXTRACT_SUFX= .tbz
WRKSRC= ${WRKDIR}/perl
. else # !empty(PERL5_RC_VERS)
DISTNAME= perl-${PERL5_VERS}-RC${PERL5_RC_VERS}
PKGNAME= perl-${PERL5_VERS}rc${PERL5_RC_VERS}
-SNAPSHOT_SITES= http://www.cpan.org/authors/id/J/JH/JHI/
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/${MODULE_DIR}/${AUTHOR_DIR}/}
+MODULE_DIR= modules/by-module
+AUTHOR_DIR= authors/id/J/JH/JHI
. endif
.endif
-PERL5_VERS= 5.8.5
-CATEGORIES= lang devel perl5
-MASTER_SITES= ${SNAPSHOT_SITES} \
- ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
-EXTRACT_SUFX= .tar.bz2
-
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://www.perl.com/
COMMENT= Practical Extraction and Report Language
@@ -137,7 +137,16 @@ PERL5_HINTS_LDFLAGS+= ${LOCLIBRPATHFLAGS}
.include "../../mk/dlopen.buildlink3.mk"
+CHECK_BUILTIN.pthread:= yes
+.include "../../mk/pthread.builtin.mk"
+CHECK_BUILTIN.pthread:= no
+
+# By default, build with threads only if the threads are native.
+.if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
+PERL5_USE_THREADS?= yes
+.else
PERL5_USE_THREADS?= ${DLOPEN_REQUIRE_PTHREADS}
+.endif
### [Sat Dec 18 17:29:44 EST 2004 : jlam]
### Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
diff --git a/lang/perl58/distinfo b/lang/perl58/distinfo
index 5888e458be2..6072e94ee0c 100644
--- a/lang/perl58/distinfo
+++ b/lang/perl58/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.23 2004/12/11 16:19:29 jlam Exp $
+$NetBSD: distinfo,v 1.24 2004/12/29 19:41:25 jlam Exp $
-SHA1 (perl-5.8.5.tar.bz2) = 6fec546bd96070c3c14b5b5fd2cd9af3185905fe
-Size (perl-5.8.5.tar.bz2) = 9464689 bytes
+SHA1 (perl-5.8.6.tar.bz2) = 5267c5b4900a995a10e4fc56fe10a6852004c29b
+Size (perl-5.8.6.tar.bz2) = 9693085 bytes
SHA1 (patch-aa) = a441cba11b12a4285284e98b6e5918efbd8bafef
SHA1 (patch-ae) = fa3bbb1561192ce9214a7a7c756ccb2595a52c80
-SHA1 (patch-ah) = b180ba8d91d2ac5e685b7d23a265245605e7eb74
+SHA1 (patch-ah) = cb103c14090b2d61720ee9b555b32085c8eeb810
SHA1 (patch-ba) = 74a01f3a86f263720b9f07d1fdbaadbaecafb012
-SHA1 (patch-ca) = d234dd0c90a4417b87b3c1708ba9e86dc566990c
+SHA1 (patch-ca) = 094b6af2a444b9d1a258faa28a5c4b16913e6de8
SHA1 (patch-cb) = 2221fb87bddd29406d925d1cb5351eb4f3087f76
SHA1 (patch-cc) = 721459e0123c3306c44cca20e37680ec7026dd09
SHA1 (patch-cd) = d9420f57f036567abac821a8144768a2a7057b47
@@ -14,5 +14,5 @@ SHA1 (patch-ce) = c7d2defd2cfa872c1f6651678bc3de6cd7aeaf34
SHA1 (patch-cf) = 23cf46c8d683b688878433ec9b33f3c65528cd28
SHA1 (patch-cg) = e1b56aaa40934f78298d1fd9303fbae33c472d8e
SHA1 (patch-ch) = 6cfd77bba102a4bca82576f061ba60c1610c4d07
-SHA1 (patch-ci) = 3f3334a93e34a9f8ea12a52b06e010c58ebd6035
+SHA1 (patch-ci) = 89bc6e67b18ca903cb3791fd598fd579bc48298b
SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
diff --git a/lang/perl58/patches/patch-ah b/lang/perl58/patches/patch-ah
index c5d8bf32e6f..2c381832da2 100644
--- a/lang/perl58/patches/patch-ah
+++ b/lang/perl58/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.7 2004/11/07 16:20:11 wiz Exp $
+$NetBSD: patch-ah,v 1.8 2004/12/29 19:41:25 jlam Exp $
---- perl.c.orig 2004-06-23 12:35:46.000000000 +0200
+--- perl.c.orig 2004-11-23 10:16:56.000000000 -0500
+++ perl.c
-@@ -4280,12 +4280,33 @@ S_init_perllib(pTHX)
+@@ -4314,12 +4314,33 @@ S_init_perllib(pTHX)
}
/* Use the ~-expanded versions of APPLLIB (undocumented),
@@ -37,7 +37,7 @@ $NetBSD: patch-ah,v 1.7 2004/11/07 16:20:11 wiz Exp $
#ifdef ARCHLIB_EXP
incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
#endif
-@@ -4319,27 +4340,6 @@ S_init_perllib(pTHX)
+@@ -4353,27 +4374,6 @@ S_init_perllib(pTHX)
incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
#endif
diff --git a/lang/perl58/patches/patch-ca b/lang/perl58/patches/patch-ca
index 60dd4e63d06..5a13e0bde8e 100644
--- a/lang/perl58/patches/patch-ca
+++ b/lang/perl58/patches/patch-ca
@@ -1,8 +1,8 @@
-$NetBSD: patch-ca,v 1.5 2004/11/23 17:32:36 jlam Exp $
+$NetBSD: patch-ca,v 1.6 2004/12/29 19:41:25 jlam Exp $
---- Configure.orig 2004-05-12 07:00:41.000000000 -0400
+--- Configure.orig 2004-09-10 02:25:52.000000000 -0400
+++ Configure
-@@ -7850,7 +7850,7 @@ if "$useshrplib"; then
+@@ -7852,7 +7852,7 @@ if "$useshrplib"; then
solaris)
xxx="-R $shrpdir"
;;
@@ -11,7 +11,7 @@ $NetBSD: patch-ca,v 1.5 2004/11/23 17:32:36 jlam Exp $
xxx="-Wl,-R$shrpdir"
;;
bsdos|linux|irix*|dec_osf)
-@@ -8971,6 +8971,13 @@ EOCP
+@@ -8973,6 +8973,13 @@ EOCP
;;
esac
@@ -25,7 +25,7 @@ $NetBSD: patch-ca,v 1.5 2004/11/23 17:32:36 jlam Exp $
case "$vendorprefix" in
'') d_vendorbin="$undef"
vendorbin=''
-@@ -17288,7 +17295,15 @@ RCAT(Rei,ser)
+@@ -17290,7 +17297,15 @@ RCAT(Rei,ser)
ACAT(Cir,cus)
EOCP
$cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
diff --git a/lang/perl58/patches/patch-ci b/lang/perl58/patches/patch-ci
index 24fdf3b0f00..68e233b602a 100644
--- a/lang/perl58/patches/patch-ci
+++ b/lang/perl58/patches/patch-ci
@@ -1,8 +1,8 @@
-$NetBSD: patch-ci,v 1.1 2004/12/11 16:19:29 jlam Exp $
+$NetBSD: patch-ci,v 1.2 2004/12/29 19:41:25 jlam Exp $
---- pp_sys.c.orig 2004-03-22 14:54:11.000000000 -0500
-+++ pp_sys.c 2004-12-11 10:47:42.000000000 -0500
-@@ -4438,9 +4438,11 @@
+--- pp_sys.c.orig 2004-10-19 13:07:23.000000000 -0400
++++ pp_sys.c
+@@ -4450,9 +4450,11 @@ PP(pp_gmtime)
when = (Time_t)SvIVx(POPs);
#endif