head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-PATCH001:1.3; locks; strict; comment @# @; 1.4 date 2001.06.07.04.25.35; author jlam; state dead; branches; next 1.3; 1.3 date 2001.04.15.18.10.47; author manu; state Exp; branches; next 1.2; 1.2 date 2001.04.12.18.14.16; author manu; state Exp; branches; next 1.1; 1.1 date 2000.11.08.08.28.00; author martin; state Exp; branches; next ; desc @@ 1.4 log @Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes, the plugging of several memory leaks, fixes to the regular expression engine, the addition of a Unicode character classes, better support for 64-bit platorms, and updates of many modules in the base Perl Library. See perldelta.pod for more details. Also update p5-Data-Dumper, p5-Devel-DProf, and p5-Devel-Peek to the latest versions distributed with the perl-5.6.1 sources, and libperl to 5.6.1 to match the perl package. @ text @$NetBSD: patch-ag,v 1.3 2001/04/15 18:10:47 manu Exp $ --- hints/netbsd.sh.orig Sun Feb 6 15:57:09 2000 +++ hints/netbsd.sh Sat Apr 7 22:23:39 2001 @@@@ -20,9 +20,13 @@@@ *) if [ -f /usr/libexec/ld.elf_so ]; then d_dlopen=$define d_dlerror=$define - ccdlflags="-Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags" + # Include the whole libgcc.a, requiered for Xerces-P, which + # needs __eh_alloc, __pure_virtual, and others. This should + # be obsoleted by gcc-3.0 + ccdlflags="-Wl,-whole-archive -lgcc -Wl,-no-whole-archive \ + -Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags" cccdlflags="-DPIC -fPIC $cccdlflags" lddlflags="--whole-archive -shared $lddlflags" elif [ "`uname -m`" = "pmax" ]; then # NetBSD 1.3 and 1.3.1 on pmax shipped an `old' ld.so, which will not work. @@@@ -61,8 +65,25 @@@@ # there's no problem with vfork. case "$usevfork" in '') usevfork=true ;; esac + +# Using perl's malloc leads to trouble on some toolchain versions... +test "$usemymalloc" || usemymalloc='n' + +# The toolchain on sparc64 is not realy production quality right now, +# but gcc 2.96 is supposed to fix most problems. +# The -g triggers -DDEBUGGING, which plays the real trick and circumvents +# code generation bugs. So we add -g everywhere, to at least have a +# realy debuggable build. +if [ "`uname -m`" = "sparc64" ]; then + if $cc -v 2>&1 | grep "gcc version" | grep "2.95.2" > /dev/null; then + ccdlflags="-g $ccdlflags" + cccdlflags="-g $cccdlflags" + lddlflags="-g $lddlflags" + optimize='-g -msoft-quad-float -O2 -DGCC2952_SPARC64_WORKAROUND' + fi +fi # Pre-empt the /usr/bin/perl question of installperl. installusrbinperl='n' @ 1.3 log @Added missing RCS tag @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Modified the link process of the perl executable so that all libgcc.a is included in the perl executable. We need this to make the upcoming xerces-perl package working. This hack should be made obsolete by gcc-3.0, which will have a libgcc.so. See http://mail-index.netbsd.org/tech-pkg/2001/04/07/0000.html for more details @ text @d1 1 @ 1.1 log @Make perl work on NetBSD/sparc64. The patch against regcomp.c (uninitialized variable) has been fed back to the perl maintainers. The others are more like workarounds for known toolchain problems and not fed back (for now). The hints/netbsd.sh file has an additional change: the perl buildin malloc (which is disabled in pkgsrc builds via configure arguments anyway) is now disabled in the hints file as well. This makes it possible to build a working perl outside of pkgsrc with this hints file. Wheter this hints file should be fed back is subject to further discussion. Make perl not build against a dynamic libperl.so. There are two reasons: (a) the dynamic libperl.so version does not work at all on sparc64, and (b) the static linked version is said to have a significant performance improvement on some platforms (i.e. sparc). I think the libperl.so was enabled by accident when switching from perl 5.0.4 to 5.6.0. Other packages using libperl.so should not depend on perl5-base but on ../libperl. @ text @a0 2 $NetBSD$ d2 19 a20 2 +++ hints/netbsd.sh Wed Nov 8 08:26:20 2000 @@@@ -63,6 +63,23 @@@@ d23 1 a23 1 d40 1 a40 1 + @