ChangeLog

# ChangeLog for dev-lang/perl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.272 2008/07/06 02:10:58 robbat2 Exp $

05 Jul 2008; Stephanie Lockwood-Childs
perl-5.8.8-r2.ebuild, perl-5.8.8-r3.ebuild, perl-5.8.8-r4.ebuild,
perl-5.8.8-r5.ebuild:
Replaced reference to dead site http://perldoc.com with an equivalent
http://search.cpan.org url (bug #230881)

16 May 2008; Tobias Scherbaum
perl-5.8.8-r5.ebuild:
ppc stable, bug #219203

15 May 2008; Raúl Porcel perl-5.8.8-r5.ebuild:
alpha/ia64 stable wrt security #219203

14 May 2008; Markus Meier perl-5.8.8-r5.ebuild:
amd64 stable, bug #219203

14 May 2008; Christian Faulhammer perl-5.8.8-r5.ebuild:
stable x86, security bug 219203

14 May 2008; Markus Rothe perl-5.8.8-r5.ebuild:
Stable on ppc64; bug #219203

14 May 2008; Ferris McCormick perl-5.8.8-r5.ebuild:
Sparc stable, Security Bug #219203 (UTF regex problem) --- all tests good.

14 May 2008; Jeroen Roovers perl-5.8.8-r5.ebuild:
Stable for HPPA (bug #219203).

*perl-5.8.8-r5 (09 May 2008)

09 May 2008; Torsten Veller
+files/perl-5.8.8-CVE-2008-1927.patch, +perl-5.8.8-r5.ebuild:
#219203 - Fix for CVE-2008-1927

*perl-5.8.8-r4 (19 Nov 2007)

19 Nov 2007; Christian Hartmann +perl-5.8.8-r4.ebuild:
Revbump to make sure everybody got a working perl as suggested in bug
#199518 in comment 22; keeping keywords to speed up the progress for bug
#198196

18 Nov 2007; Christian Hartmann
+files/perl-5.8.8-lib64.patch:
Readding perl-5.8.8-lib64.patch; thanks angelos

18 Nov 2007; Christian Hartmann perl-5.8.8-r2.ebuild,
perl-5.8.8-r3.ebuild:
Reverting solars changes; bug #199518

18 Nov 2007; -files/perl-5.8.8-lib64.patch,
+files/perl-5.8.8-libbits.patch, perl-5.8.8-r2.ebuild,
perl-5.8.8-r3.ebuild:
- fixed the lib64 patch that was breaking on amd64 32ul.

14 Nov 2007; Chris Gianelloni perl-5.8.8-r3.ebuild:
Stable on amd64 wrt bug #198196.

13 Nov 2007; Tobias Scherbaum
perl-5.8.8-r3.ebuild:
ppc stable, bug #198196

13 Nov 2007; Markus Rothe perl-5.8.8-r3.ebuild:
Stable on ppc64; bug #198196

13 Nov 2007; Raúl Porcel perl-5.8.8-r3.ebuild:
alpha/ia64 stable wrt security #198196

13 Nov 2007; Markus Meier perl-5.8.8-r3.ebuild:
x86 stable, security bug #198196

13 Nov 2007; Jeroen Roovers perl-5.8.8-r3.ebuild:
Stable for HPPA (bug #198196). Fixed many quoting issues.

12 Nov 2007; Ferris McCormick perl-5.8.8-r3.ebuild:
Sparc stable --- Security Bug #198196 --- All tests and autotools good.

*perl-5.8.8-r3 (12 Nov 2007)

12 Nov 2007; +files/perl-5.8.8-utf8-boundary.patch,
+perl-5.8.8-r3.ebuild:
patch for bug #198196

17 Oct 2007; Christian Hartmann perl-5.8.8-r2.ebuild:
Fixed bug #194384

19 Aug 2007; Christian Hartmann
+files/perl-5.8.8-perlcc.patch, perl-5.8.8-r2.ebuild:
Fixed bug #181229

16 Aug 2007; Zac Medico perl-5.8.8-r2.ebuild:
Bug #187866 - Block Test-Harness, PodParser, and Locale-gettext when
the "build" flag is enabled since perl needs to be rebuilt first.

08 Aug 2007; Mike Frysinger perl-5.8.8-r2.ebuild:
Apply gcc-4.2 patch to everyone.

06 Aug 2007; Harald van Dijk
+files/perl-5.8.8-makedepend-syntax.patch, perl-5.8.8-r2.ebuild:
Fix syntax error in makedepend.SH

06 Aug 2007; Christian Hartmann perl-5.8.8-r2.ebuild:
Bug #187866 - added suggested fix

30 Apr 2007; perl-5.8.8-r2.ebuild:
- filter ssp on ia64 due to ICE in compiler. revisit when we have a working
hardened gcc-4.x

30 Mar 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Bug 147184, thanks to jweckhart for the patch :)

08 Mar 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Change to the call for the lib64 patch to enable it for ppc64 - helps with
stage 1 building problems. Thanks ranger :)

07 Mar 2007; Chris Gianelloni perl-5.8.8-r2.ebuild:
Change all instances of [ to [[.

04 Mar 2007; Michael Cummings
+files/perl-5.8.8-asm-page-h-compile-failure.patch, perl-5.8.8-r2.ebuild:
Bug 168312, patch from Peter for >=2.6.20 kernel headers.

11 Feb 2007; Fabian Groffen perl-5.8.8-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix

11 Jan 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Reverting changes made for bug 59328 until we can figure out why this breaks
under catalyst

09 Jan 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Bug 144965, adjusted gcc patch line

07 Jan 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Bug 160623, mistakenly removed the else block for noman

05 Jan 2007; Michael Cummings perl-5.8.8-r2.ebuild:
Bug 59328, features=noman support

19 Nov 2006; Michael Cummings
+files/perl-5.8.8-gcc42-command-line.patch, perl-5.8.8-r2.ebuild:
Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic

18 Nov 2006; Michael Cummings
-files/perl-5.8.7-CAN-2005-0448-rmtree.patch,
-files/perl-5.8.7-regexp-nossp.patch, -files/perl-5.8.7-tempfiles.patch,
-files/perl-exp_intwrap.patch, -files/perl-nonblock.patch,
-files/perl-reorder-INC.patch, perl-5.8.8-r2.ebuild:
Bug 150702; also cleaned up unused patches

23 Oct 2006; Michael Cummings
-perl-5.8.7-r3.ebuild:
Removing old perl

17 Oct 2006; Roy Marples perl-5.8.8-r2.ebuild:
Added ~sparc-fbsd keyword.

07 Oct 2006; Diego Pettenò perl-5.8.8-r2.ebuild:
Add a dependency on freebsd-mk-defs on FreeBSD.

18 Aug 2006; Michael Cummings
-perl-5.8.7-r2.ebuild, perl-5.8.7-r3.ebuild, perl-5.8.8-r2.ebuild:
Cleaning up; bug 142940, updating h2ph options for multilib boxes

15 Aug 2006; Christian Hartmann perl-5.8.8-r2.ebuild:
Fix bug #143895

13 Aug 2006; perl-5.8.7-r2.ebuild,
perl-5.8.7-r3.ebuild, perl-5.8.8-r2.ebuild:
Bug #139478 - changed description. Thanks Marko Horvat for 'reporting'! ;)

11 Jul 2006; Michael Cummings -perl-5.8.8.ebuild,
-perl-5.8.8-r1.ebuild:
Cleaning up

25 Jun 2006; Christian Hartmann Manifest:
Removed obsolete patchfiles

24 Jun 2006; Michael Cummings perl-5.8.7-r2.ebuild,
perl-5.8.7-r3.ebuild, perl-5.8.8.ebuild, perl-5.8.8-r1.ebuild,
perl-5.8.8-r2.ebuild:
Removing perl-core/ExtUtils-MakeMaker

18 Jun 2006; Bryan Østergaard perl-5.8.8-r2.ebuild:
Stable on ia64.

14 Jun 2006; Michael Cummings -files/perl-cleaner,
-perl-5.8.6-r5.ebuild, -perl-5.8.6-r6.ebuild, -perl-5.8.6-r7.ebuild,
-perl-5.8.6-r8.ebuild, -perl-5.8.7.ebuild, -perl-5.8.7-r1.ebuild:
Cleaning up

08 Jun 2006; Michael Cummings perl-5.8.8-r2.ebuild:
Fixed pdepend to exclude build folks

07 Jun 2006; Joshua Kinard perl-5.8.8-r2.ebuild:
Marked stable on mips.

07 Jun 2006; perl-5.8.8-r2.ebuild:
Following a conversation with agaffney, removed code that is dup'd from
libperl that was causing a loop in catalyst building - fixes help2man bugs -
bug 130248 in particular

03 Jun 2006; Guy Martin
+files/perl-hppa-pa7200-configure.patch, perl-5.8.8-r2.ebuild:
On PA7200, uname -a contains a single quote and we need to filter it
otherwise configure fails. See #125535.

30 May 2006; perl-5.8.8-r2.ebuild:
Bug 134859, fixed USE=build removals on lib64

27 May 2006; Bryan Østergaard perl-5.8.8-r2.ebuild:
Stable on alpha.

27 May 2006; perl-5.8.8-r2.ebuild:
Marking sparc stable

26 May 2006; Tobias Scherbaum
perl-5.8.8-r2.ebuild:
hppa stable

26 May 2006; Chris Gianelloni perl-5.8.8-r2.ebuild:
Stable on amd64 and x86 wrt bug #133989.

26 May 2006; Diego Pettenò perl-5.8.8-r2.ebuild:
Re-add ~x86-fbsd keyword.

26 May 2006; Markus Rothe perl-5.8.8-r2.ebuild:
Stable on ppc64; bug #133989

26 May 2006; perl-5.8.8-r2.ebuild:
Stable on ppc. Bug #133989

26 May 2006; perl-5.8.8-r2.ebuild:
Bug 134359, -Dusenm

*perl-5.8.8-r2 (26 May 2006)

26 May 2006; +perl-5.8.8-r2.ebuild:
Bug 134363 - pdepends got lost.

25 May 2006; Guy Martin perl-5.8.8-r1.ebuild:
Stable on hppa.

24 May 2006; perl-5.8.8-r1.ebuild:
Stable on ppc. bug #133989

23 May 2006; Chris Gianelloni perl-5.8.8-r1.ebuild:
Stable on x86 wrt bug #133989.

23 May 2006; perl-5.8.8-r1.ebuild:
Marking stable sparc, bug 133989

23 May 2006; Markus Rothe perl-5.8.8-r1.ebuild:
Stable on ppc64; bug #133989

20 Apr 2006; Diego Pettenò perl-5.8.8-r1.ebuild:
Use realpath when available, rather than readlink -f, to support
Gentoo/FreeBSD.

31 Mar 2006; Diego Pettenò perl-5.8.8-r1.ebuild:
Add ~x86-fbsd keyword.

*perl-5.8.8-r1 (29 Mar 2006)

29 Mar 2006; +files/perl-5.8.8-cplusplus.patch,
+perl-5.8.8-r1.ebuild:
Patch 27203 in blead - fixes c++ problems in XS code :)

20 Feb 2006; Michael Cummings
+files/perl-5.8.8-fbsdhints.patch, perl-5.8.8.ebuild:
Bug 122780, freebsd hints via flameeyes

20 Feb 2006; Michael Cummings
+files/perl-5.8.8-dragonfly-clean.patch, perl-5.8.8.ebuild:
Bug 122706, dragonfly patches. Patch submitted upstream and here by
Robert Sebastian Gerus, should be available in blead now.

20 Feb 2006; Michael Cummings perl-5.8.8.ebuild:
Updated perl-cleaner dep

15 Feb 2006; Michael Cummings perl-5.8.8.ebuild:
Dropping PROVIDE, repoman rejoices, people return to normalcy

13 Feb 2006; Michael Cummings perl-5.8.8.ebuild:
Updated virtuals per ciarnm's input

07 Feb 2006; Aron Griffis perl-5.8.8.ebuild:
Prefer to avoid eval and use a bash array for myconf instead, it's less
error-prone

07 Feb 2006; Michael Cummings perl-5.8.8.ebuild:
src update

07 Feb 2006; perl-5.8.8.ebuild:
Style fixes to 5.8.8, thanks az

*perl-5.8.8 (07 Feb 2006)

07 Feb 2006; Michael Cummings
+files/perl-5.8.8-CAN-2005-0448-rmtree.patch,
+files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch, +files/perl-5.8.8-lib64.patch,
+files/perl-5.8.8-links.patch, +files/perl-5.8.8-reorder-INC.patch,
-files/perl-5.8.8_rc1-CAN-2005-0448-rmtree.patch,
-files/perl-5.8.8_rc1-reorder-INC.patch, -perl-5.8.8_rc1.ebuild,
+perl-5.8.8.ebuild:
Perl 5.8.8, with amd64 fixes, RUNPATH fixes, a completely reversed INC, and
a shiny set of changes.

24 Jan 2006; Michael Cummings
+files/perl-5.8.8_rc1-reorder-INC.patch, perl-5.8.8_rc1.ebuild:
Some tweaks to perl-5.8.8 installation

*perl-5.8.8_rc1 (22 Jan 2006)

22 Jan 2006; Michael Cummings
+files/perl-5.8.8_rc1-CAN-2005-0448-rmtree.patch,
+files/perl-regexp-nossp.patch, +perl-5.8.8_rc1.ebuild:
RC1 of perl 5.8.8

21 Jan 2006; Markus Rothe perl-5.8.7-r3.ebuild:
Stable on ppc64

16 Jan 2006; Michael Cummings perl-5.8.6-r8.ebuild,
perl-5.8.7-r3.ebuild:
Minor addition of enc2xs, doesn't impact anything, just placing into ebuild
for later reference

15 Jan 2006; Michael Cummings perl-5.8.7-r3.ebuild:
Bug 110363, thanks to Nathan and Rene for noting the typo in the minimal
section

14 Jan 2006; Torsten Veller perl-5.8.7-r3.ebuild:
Stable on x86 (#118938)

25 Dec 2005; Joshua Kinard perl-5.8.6-r8.ebuild,
perl-5.8.7-r3.ebuild:
Mark 5.8.6-r8 && 5.8.7-r3 stable on mips.

14 Dec 2005; perl-5.8.7-r3.ebuild:
Bug 115503, better if-clause for nossp patch

07 Dec 2005; Jason Wever perl-5.8.7-r3.ebuild:
Stable on SPARC wrt bug #114113.

07 Dec 2005; Mark Loeser perl-5.8.6-r8.ebuild:
Stable on x86; bug #114113

07 Dec 2005; Jose Luis Rivero perl-5.8.7-r3.ebuild:
Stable on alpha wrt security bug #114113

06 Dec 2005; Michael Hanselmann perl-5.8.7-r3.ebuild:
Stable on hppa, ppc.

06 Dec 2005; Marcus D. Hanwell perl-5.8.7-r3.ebuild:
Stable on amd64, bug 114113.

06 Dec 2005; Markus Rothe perl-5.8.6-r8.ebuild:
Stable on ppc64; bug #114113

*perl-5.8.7-r3 (06 Dec 2005)

06 Dec 2005; files/perl-exp_intwrap.patch,
+perl-5.8.7-r3.ebuild:
More bug 114113 work. Patch updated, segfaults are all handled now with
cleaner exit/messages. test with perl -e 'printf("%2147483647$n");' or perl
-e 'printf "%4294967295d"' before and after upgrading to demonstrate

05 Dec 2005; perl-5.8.6-r5.ebuild,
perl-5.8.6-r6.ebuild, perl-5.8.6-r7.ebuild, perl-5.8.7-r1.ebuild,
perl-5.8.7-r2.ebuild, perl-5.8.7.ebuild:
Bug 113930, case statement for non-linux. Also (finally) a fix for the
installmanpaths (personal bug)

05 Dec 2005; perl-5.8.6-r7.ebuild,
perl-5.8.7-r2.ebuild:
Mistaken commit missed the picdl patch (was working on bug 65624, which this
patch appears to cause a seg fault with)

02 Dec 2005; Joseph Jezak perl-5.8.6-r7.ebuild:
Marked ppc stable for bug #114113.

01 Dec 2005; Andrej Kacian perl-5.8.6-r7.ebuild:
Stable on x86, bug #114113.

01 Dec 2005; perl-5.8.7-r2.ebuild:
Marked stable on amd64

01 Dec 2005; Markus Rothe perl-5.8.7-r2.ebuild:
Stable on ppc64; bug #114113

01 Dec 2005; Gustavo Zacarias perl-5.8.7-r2.ebuild:
Stable on sparc wrt security #114113

*perl-5.8.7-r2 (01 Dec 2005)

01 Dec 2005; +files/perl-exp_intwrap.patch,
+perl-5.8.6-r7.ebuild, +perl-5.8.7-r2.ebuild:
Bug 114113, perl-exp_intwrap patch

14 Nov 2005; Michael Cummings perl-5.8.6-r5.ebuild,
perl-5.8.6-r6.ebuild, perl-5.8.7.ebuild, perl-5.8.7-r1.ebuild:
NetBSD for osname per thunder

12 Nov 2005; Chris White perl-5.8.6-r6.ebuild:
Backported some get_libdir functionality from 5.8.7 to 5.8.6-r6 to resolve
bug #112243. This is mainly a multi-lib support fix it seems.

02 Oct 2005; Bryan Østergaard perl-5.8.7-r1.ebuild:
Stable on ia64, bug 106678.

29 Sep 2005; Aaron Walker perl-5.8.6-r6.ebuild:
Stable on mips for bug #106678.

23 Sep 2005; Bryan Østergaard perl-5.8.7-r1.ebuild:
Stable on alpha, bug 106678.

21 Sep 2005; Seemant Kulleen perl-5.8.6-r6.ebuild:
stable on amd64 wrt bug #106678

21 Sep 2005; Gustavo Zacarias perl-5.8.7-r1.ebuild:
Stable on sparc wrt #106678

20 Sep 2005; Chris Gianelloni perl-5.8.6-r6.ebuild:
Marking stable on x86 for bug #106678.

20 Sep 2005; Rene Nussbaumer perl-5.8.6-r6.ebuild:
Stable on hppa. bug #106678

20 Sep 2005; Markus Rothe perl-5.8.7-r1.ebuild:
Stable on ppc64 (bug #106678)

20 Sep 2005; Michael Hanselmann perl-5.8.6-r6.ebuild:
Stable on ppc.

*perl-5.8.7-r1 (20 Sep 2005)
*perl-5.8.6-r6 (20 Sep 2005)

20 Sep 2005; Martin Schlemmer
+files/perl-5.8.7-MakeMaker-RUNPATH.patch, +perl-5.8.6-r6.ebuild,
+perl-5.8.7-r1.ebuild:
We do not want the build root in the linked perl module's RUNPATH, so
strip paths containing PORTAGE_TMPDIR if its set. This is for the
MakeMaker module, bug #105054.

05 Sep 2005; Herbie Hopkins perl-5.8.7.ebuild:
More multilib fixes thanks to Christophe Saout, bug 104509.

04 Sep 2005; Elfyn McBratney
files/perl-5.8.7-regexp-nossp.patch:
Fix patch to cflags.SH (don't assume /bin/sh is bash).

04 Sep 2005; Elfyn McBratney perl-5.8.6-r5.ebuild,
perl-5.8.7.ebuild:
Drop DEPEND on sys-apps/groff.

01 Sep 2005; Joseph Jezak perl-5.8.6-r5.ebuild,
perl-5.8.7.ebuild:
Filtered -mpowerpc-gpopt on ppc to fix bug #97645.

14 Aug 2005; Michael Cummings perl-5.8.7.ebuild:
The rest of the patch for bug 58931

14 Aug 2005; Michael Cummings perl-5.8.6-r5.ebuild,
perl-5.8.7.ebuild:
Bug #97894 - added note regarding minimal means minimal

12 Aug 2005; Michael Cummings perl-5.8.7.ebuild:
Further bug #58931 - mistake on my part for the LIBPERL= syntax

12 Aug 2005; Michael Cummings perl-5.8.7.ebuild:
getlibdir changes for 5.8.7, bug #58931

08 Aug 2005; Thierry Carrez perl-5.8.6-r5.ebuild,
perl-5.8.7.ebuild:
Reverting vapier's features_noman change on the groff dependency, which
results in bug 101088.

28 Jul 2005; Michael Cummings
files/perl-reorder-INC.patch, -perl-5.8.5-r5.ebuild, -perl-5.8.6-r4.ebuild:
Update to reorder patch, tested with 5.8.6 and 5.8.7, resolves bug 95770

28 Jul 2005; Michael Cummings -perl-5.8.5-r5.ebuild,
-perl-5.8.6-r4.ebuild:
Cleaning up now that we have keywords up to date

28 Jul 2005; Herbie Hopkins perl-5.8.6-r5.ebuild:
Stable on amd64.

07 Jul 2005; Markus Rothe perl-5.8.6-r5.ebuild:
Stable on ppc64

06 Jul 2005; perl-5.8.6-r5.ebuild:
Stable on IA64.

06 Jul 2005; Chris Gianelloni perl-5.8.6-r5.ebuild:
Stable on arm, m68k, s390, and sh.

05 Jul 2005; Hardave Riar perl-5.8.6-r5.ebuild:
Stable on mips.

03 Jul 2005; Michael Hanselmann perl-5.8.6-r5.ebuild:
Stable on ppc.

02 Jul 2005; Bryan Østergaard perl-5.8.6-r5.ebuild:
Stable on alpha.

02 Jul 2005; Rene Nussbaumer perl-5.8.6-r5.ebuild:
Stable on hppa.

*perl-5.8.6-r5 (30 Jun 2005)

30 Jun 2005; Michael Cummings perl-5.8.6-r4.ebuild,
+perl-5.8.6-r5.ebuild:
Sorry folks, there was a typo in libperl-5.8.6s ebuild that made this
necessary.

*perl-5.8.7 (29 Jun 2005)

29 Jun 2005; Michael Cummings
-files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patc
h, -files/perl-5.8.2-perldoc-emptydirs.patch,
-files/perl-5.8.2-picdl.patch, -files/perl-5.8.2-prelink-lpthread.patch,
-files/perl-5.8.2-reorder-INC.patch, -files/perl-5.8.2-uclibc.patch,
-files/perl-5.8.4-noksh.patch, -files/perl-5.8.4-nonblock.patch,
-files/perl-5.8.4-perldoc-emptydirs.patch, -files/perl-5.8.4-picdl.patch,
-files/perl-5.8.4-prelink-lpthread.patch,
-files/perl-5.8.4-reorder-INC.patch, -files/perl-5.8.5-noksh.patch,
-files/perl-5.8.5-nonblock.patch,
-files/perl-5.8.5-perldoc-emptydirs.patch, -files/perl-5.8.5-picdl.patch,
-files/perl-5.8.5-prelink-lpthread.patch,
-files/perl-5.8.5-reorder-INC.patch, -files/perl-5.8.6-noksh.patch,
-files/perl-5.8.6-perldoc-emptydirs.patch, -files/perl-5.8.6-picdl.patch,
-files/perl-5.8.6-prelink-lpthread.patch,
-files/perl-5.8.6-reorder-INC.patch,
+files/perl-5.8.7-CAN-2005-0448-rmtree.patch,
+files/perl-5.8.7-tempfiles.patch, -files/libperl_rebuilder,
+files/perl-h2ph-ansi-header.patch, +files/perl-noksh.patch,
+files/perl-nonblock.patch, +files/perl-perldoc-emptydirs.patch,
+files/perl-picdl.patch, +files/perl-prelink-lpthread.patch,
+files/perl-reorder-INC.patch, +files/perl-tempfiles.patch,
+files/perl-uclibc.patch, -files/stat.t, -perl-5.8.2-r4.ebuild,
-perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild,
+perl-5.8.7.ebuild:
Perl 5.8.6 unmasking, perl 5.8.7 addition

05 Jun 2005; Michael Cummings files/perl-cleaner:
Bug 90502 - don't leave behind empty log files if nothing has been done

30 May 2005; Michael Cummings files/perl-cleaner,
perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild,
perl-5.8.6-r4.ebuild:
Updated perl-cleaner to remove the emptied dirs after a .ph purge

29 May 2005; perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild,
perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
- update perl to use libc expanded variable elibc_uclibc vs uclibc so USE=-*
works

25 May 2005; Michael Cummings perl-5.8.6-r4.ebuild:
dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration

25 May 2005; Michael Cummings perl-5.8.5-r5.ebuild:
dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration

25 May 2005; Michael Cummings perl-5.8.4-r4.ebuild:
dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration

25 May 2005; Michael Cummings perl-5.8.2-r4.ebuild:
dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration

25 May 2005; Michael Cummings perl-5.8.6-r4.ebuild:
dev-perl/Test-Simple => perl-core/Test-Simple migration

25 May 2005; Michael Cummings perl-5.8.5-r5.ebuild:
dev-perl/Test-Simple => perl-core/Test-Simple migration

25 May 2005; Michael Cummings perl-5.8.4-r4.ebuild:
dev-perl/Test-Simple => perl-core/Test-Simple migration

25 May 2005; Michael Cummings perl-5.8.2-r4.ebuild:
dev-perl/Test-Simple => perl-core/Test-Simple migration

25 May 2005; Michael Cummings perl-5.8.6-r4.ebuild:
dev-perl/File-Spec => perl-core/File-Spec migration

25 May 2005; Michael Cummings perl-5.8.5-r5.ebuild:
dev-perl/File-Spec => perl-core/File-Spec migration

25 May 2005; Michael Cummings perl-5.8.4-r4.ebuild:
dev-perl/File-Spec => perl-core/File-Spec migration

25 May 2005; Michael Cummings perl-5.8.2-r4.ebuild:
dev-perl/File-Spec => perl-core/File-Spec migration

23 May 2005; Herbie Hopkins perl-5.8.6-r4.ebuild:
More get_libdir-ization, fixes compilation on amd64's no-lib32 profile.

16 May 2005; Michael Cummings perl-5.8.2-r4.ebuild,
perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
Last toolchain-funcs fix

15 May 2005; Michael Cummings perl-5.8.2-r4.ebuild,
perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
Changed to toolchain-funcs

20 Mar 2005; Michael Cummings perl-5.8.2-r4.ebuild,
perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
bug 81947 - replaced filesdir with generic cat/pkg

11 Mar 2005; Michael Cummings
files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r4.ebuild,
perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
Patch is in the right place and works on any arch. Yay.

11 Mar 2005; Michael Cummings perl-5.8.2-r4.ebuild,
perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
The last rmtree patch contains a line that checks /Errno.pm in
your existing perl install. If your kernel changes between perl installs, it
dies horribly. Need to find a cleaner solution first. For everyone that just
bumped their perls, I am terribly sorry that this wasn't realized earlier.

11 Mar 2005; Michael Cummings -perl-5.8.2-r2.ebuild,
-perl-5.8.2-r3.ebuild, -perl-5.8.4-r2.ebuild, -perl-5.8.4-r3.ebuild,
-perl-5.8.5-r3.ebuild, -perl-5.8.5-r4.ebuild, -perl-5.8.6-r2.ebuild,
-perl-5.8.6-r3.ebuild:
Cleaning out old ebuilds - no keyword changes :)

*perl-5.8.6-r4 (11 Mar 2005)

11 Mar 2005; Michael Cummings
+files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r2.ebuild,
perl-5.8.2-r3.ebuild, +perl-5.8.2-r4.ebuild, perl-5.8.4-r2.ebuild,
perl-5.8.4-r3.ebuild, +perl-5.8.4-r4.ebuild, perl-5.8.5-r3.ebuild,
perl-5.8.5-r4.ebuild, +perl-5.8.5-r5.ebuild, perl-5.8.6-r2.ebuild,
perl-5.8.6-r3.ebuild, +perl-5.8.6-r4.ebuild:
Version bump to finalize patch

11 Mar 2005; Michael Cummings
+files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r2.ebuild,
perl-5.8.2-r3.ebuild, perl-5.8.4-r2.ebuild, perl-5.8.4-r3.ebuild,
perl-5.8.5-r3.ebuild, perl-5.8.5-r4.ebuild, perl-5.8.6-r2.ebuild,
perl-5.8.6-r3.ebuild:
Changed file_path_rmtree to CAN-2005-0448-rmtree.patch per bug 79685

08 Mar 2005; Jeremy Huddleston
perl-5.8.6-r3.ebuild:
More multilib fixes.

*perl-5.8.5-r4 (11 Feb 2005)

11 Feb 2005; Michael Cummings perl-5.8.2-r2.ebuild,
+perl-5.8.2-r3.ebuild, perl-5.8.4-r2.ebuild, +perl-5.8.4-r3.ebuild,
perl-5.8.5-r3.ebuild, +perl-5.8.5-r4.ebuild, perl-5.8.6-r2.ebuild,
+perl-5.8.6-r3.ebuild:
Bug 80460 - CAN-2005-015{5,6} - perlsuid patch. Bug 62321, 65317 - Removal of
old .ph files after an upgrade. Bug 72977 - modifications to allow for perl
5.8.0 and multithreaded perls to use the perl-inc patch. In addition, modified
the perl-cleaner message to display only if @INC included more than the
current install's perl (ie, only if this was an upgrade that left files
behind).

05 Feb 2005; Michael Cummings
+files/CAN-2005-0156-suid.patch, perl-5.8.2-r2.ebuild,
perl-5.8.4-r2.ebuild, perl-5.8.5-r3.ebuild, perl-5.8.6-r2.ebuild:
Bug 80460, perlsuid vulnerability

05 Feb 2005; Michael Cummings
-perl-5.8.2-r1.ebuild, -perl-5.8.4-r1.ebuild, -perl-5.8.5-r1.ebuild,
-perl-5.8.5-r2.ebuild, -perl-5.8.5.ebuild, -perl-5.8.6-r1.ebuild,
-perl-5.8.6.ebuild:
Cleaning up old, unused ebuilds

31 Jan 2005; Michael Cummings files/perl-cleaner:
swtaylor came up with a quicker way to generate the module list, plus a more
secure call for making the tmp files

27 Jan 2005; Michael Cummings files/perl-cleaner:
Code cleanup thanks to Mr.B. *MAJOR* typo in the filename for the prelist of
ebuilds to re-emerge resulted in no ebuilds getting re-emerged...

26 Jan 2005; Michael Cummings files/perl-cleaner:
tmpdir fix - thanks Mr. B.

*perl-5.8.4-r2 (26 Jan 2005)

26 Jan 2005; Michael Cummings
+files/file_path_rmtree.patch, files/libperl_rebuilder, files/perl-cleaner,
+perl-5.8.2-r2.ebuild, +perl-5.8.4-r2.ebuild, +perl-5.8.5-r3.ebuild,
+perl-5.8.6-r2.ebuild:
Bump for bug 75696 involving temporary file perms in File::Path. Includes
fixes for h2ph conversion, bug 75955 Includes change over to perl-cleaner from
libperl_rebuilder, bugs 60447, 62301, 62669, 66688, 73932, 71287

16 Jan 2005; Jeremy Huddleston
perl-5.8.5-r2.ebuild, perl-5.8.6-r1.ebuild, perl-5.8.6.ebuild:
multilib fixes for amd64's 2005.0.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

07 Dec 2004; Hardave Riar perl-5.8.5-r2.ebuild:
Stable on mips, bug #66360

06 Dec 2004; Gustavo Zacarias perl-5.8.5-r2.ebuild:
Stable on sparc wrt #66360

05 Dec 2004; Bryan Østergaard perl-5.8.5-r2.ebuild:
Stable on alpha, bug 66360.

05 Dec 2004; Markus Rothe perl-5.8.5-r2.ebuild:
Stable on ppc64; bug #66360

*perl-5.8.5-r2 (04 Dec 2004)

04 Dec 2004; Robert Coie
+files/perl-5.8.5-tempfiles.patch, +files/perl-5.8.6-tempfiles.patch,
-perl-5.8.4.ebuild, +perl-5.8.5-r2.ebuild, +perl-5.8.6-r1.ebuild:
Add the few relevant bits from bug 66360, keyword 5.8.5-r2 x86, amd64 and ppc

01 Dec 2004; Robert Coie perl-5.8.6.ebuild:
back makemaker block to 6.17

*perl-5.8.6 (30 Nov 2004)

30 Nov 2004; Robert Coie +files/perl-5.8.6-noksh.patch,
+files/perl-5.8.6-perldoc-emptydirs.patch, +files/perl-5.8.6-picdl.patch,
+files/perl-5.8.6-prelink-lpthread.patch,
+files/perl-5.8.6-reorder-INC.patch, +perl-5.8.6.ebuild:
New upstream

13 Nov 2004; Robert Coie perl-5.8.5-r1.ebuild:
Go ahead and use the myarch that exists

*perl-5.8.5-r1 (12 Nov 2004)

12 Nov 2004; Robert Coie -perl-5.8.3.ebuild,
+perl-5.8.5-r1.ebuild:
Allow the maketest FEATURE to determine whether tests are run. Guide
Configure to attempt to pick up old 5.8.2 and 5.8.4 directories in @INC

25 Oct 2004; Michael Cummings perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Cleaner h2ph, should reduce build time but leave us with something still
usable.

06 Oct 2004; Guy Martin perl-5.8.4-r1.ebuild:
Stable on hppa.

28 Sep 2004; Michael Cummings perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Added back perlsuid/sperl based on local use flag. Bug 64823. Users should
read http://perldoc.com/perl5.8.4/INSTALL.html#suidperl before enabling.

27 Sep 2004; Mike Frysinger perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Add libperl to RDEPEND (since pkg_setup will die otherwise) and make sure
pkg_setup() respects $ROOT.

27 Sep 2004; Michael Cummings perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Added perl debugging support, bug 60775

24 Sep 2004; Robert Coie perl-5.8.4-r1.ebuild,
perl-5.8.5.ebuild:
Make gdbm patch conditional on having 1.8.3, because libgdbm_compat isn't
there otherwise, should not affect people who have already built. Made 5.8.5
depend on 1.8.3 instead. Again, should not affect installed people.

22 Sep 2004; Robert Coie perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
USE threads -> ithreads

21 Sep 2004; Danny van Dyk perl-5.8.4-r1.ebuild:
Marked stable on amd64.

09 Sep 2004; Gustavo Zacarias perl-5.8.4-r1.ebuild:
Stable on sparc to finally solve #36478

08 Sep 2004; Robert Coie perl-5.8.4-r1.ebuild:
keyword x86 and arm for uclibc folks

06 Sep 2004; Ciaran McCreesh perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Switch to use epause and ebeep, bug #62950

31 Aug 2004; Guy Martin perl-5.8.4.ebuild,
perl-5.8.5.ebuild:
Removed useless -fPIC for hppa.

21 Aug 2004; Joshua Kinard perl-5.8.4-r1.ebuild:
Marked stable on mips.

18 Aug 2004; Aron Griffis perl-5.8.4-r1.ebuild:
stable on alpha

13 Aug 2004; Bryan Østergaard perl-5.8.4.ebuild:
Stable on alpha.

07 Aug 2004; Robert Coie perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild:
convert SHORT_PV and MY_P to bash

*perl-5.8.5 (06 Aug 2004)

06 Aug 2004; Robert Coie +files/perl-5.8.5-noksh.patch,
+files/perl-5.8.5-nonblock.patch, +files/perl-5.8.5-perldoc-emptydirs.patch,
+files/perl-5.8.5-picdl.patch, +files/perl-5.8.5-prelink-lpthread.patch,
+files/perl-5.8.5-reorder-INC.patch, +perl-5.8.5.ebuild:
5.8.5

02 Aug 2004; Robert Coie +files/perl-5.8.4-nonblock.patch,
perl-5.8.4-r1.ebuild:
add nonblock.patch, primarily for sparc64

29 Jul 2004; Guy Martin perl-5.8.4.ebuild:
Stable on hppa.

*perl-5.8.4-r1 (29 Jul 2004)

29 Jul 2004; Robert Coie +perl-5.8.4-r1.ebuild:
Move make test to src_test, but still call it if the maketest
FEATURE is not enabled. If maketest ever becomes a default, this
can be reconsidered. The NDBM-GDBM patch in bug 52660 is in here,
and gdbm is allowed to provide ndbm, as it works for me with either
1.8.0-r5 (so2) or 1.8.3 (so3). So to get ndbm, one must either
USE=berkdb and have db1 installed, or USE=gdbm in which case gdbm
will come in. The man page fixes from bug 58620 are in.
src_configure has been split out of src_compile in preparation for
making compiles more easily resumable. An issue genone brought up
where hardlinks aren't making it through portage's staging image has
been addressed by making /usr/bin/perl a symlink to perl5.8.4
instead of a hardlink. The same issue was faced with suidperl,
which has been removed completely to preemptively avoid security
issues. sperl${PV} is gone too, in favor of the perl recommendation
to use sudo instead of having setuid perl executables. I hope this
will help security, but it can be restored if there is enough
demand.

23 Jul 2004; Robert Coie perl-5.8.4.ebuild:
keywording x86 and sparc

02 Jul 2004; perl-5.8.4.ebuild:
don't call perl to install manfiles when FEATURES=noman is set. testing of the
perl can be disable now with restrictions

29 Jun 2004; Aron Griffis perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4.ebuild:
kill sparc64 use flag

25 Jun 2004; perl-5.8.4.ebuild:
uclibc update

24 Jun 2004; perl-5.8.4.ebuild:
added uclibc update for 5.8.4

15 Jun 2004; perl-5.8.2-r1.ebuild,
files/perl-5.8.2-uclibc.patch:
basic initial uclibc support needed for bootstrapping

09 Jun 2004; Robert Coie +files/perl-5.8.4-noksh.patch,
perl-5.8.4.ebuild:
Add noksh.patch, bug 42665

03 Jun 2004; Aron Griffis perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4.ebuild:
Fix use invocation

02 Jun 2004; Travis Tilley perl-5.8.4.ebuild:
stable on amd64

31 May 2004; Robert Coie perl-5.8.2-r1.ebuild,
perl-5.8.3.ebuild, perl-5.8.4.ebuild:
Update makemaker blocks to <6.17, not worth making everybody recompile

10 May 2004; Michael McCabe perl-5.8.4.ebuild:
Stable on s390

08 May 2004; Robert Coie perl-5.8.4.ebuild,
files/perl-5.8.4-prelink-lpthread.patch:
Add back the -lpthread patch, frozen-bubble segfaults otherwise

*perl-5.8.4 (03 May 2004)

03 May 2004; Robert Coie perl-5.8.4.ebuild,
files/5.6.1-builtin-fixup.diff, files/5.6.1-op-test-fix.diff,
files/perl-5.8.4-perldoc-emptydirs.patch, files/perl-5.8.4-picdl.patch,
files/perl-5.8.4-reorder-INC.patch:
Add 5.8.4

28 Apr 2004; Mike Frysinger :
Clean up `use` syntax and remove ${CC} usage.

27 Feb 2004; Michael Cummings perl-5.6.1-r10.ebuild,
perl-5.6.1-r11.ebuild, perl-5.6.1-r12.ebuild:
5.6.1 is no longer a requirement/needed in the tree

21 Feb 2004; Michael Cummings perl-5.8.0-r11.ebuild,
perl-5.8.0-r12.ebuild, perl-5.8.0-r9.ebuild, perl-5.8.2.ebuild,
files/libperl-5.8.0-create-libperl-soname.patch,
files/perl-5.8.0-perldoc-emptydirs.patch,
files/perl-5.8.0-prelink-lpthread.patch, files/perl-5.8.0-reorder-INC.patch,
files/perl-5.8.0-sockatmark-should-__THROW.patch:
Massive clean up. With 5.8.2 now marked stable on all platforms, we are
removing the older 5.8.0 ebuilds, which are no longer available upstream
anymore. I also cleaned out the files dir of any patches that were being
specifically used by 5.8.0 and not the other versions.

19 Feb 2004; Aron Griffis perl-5.8.2-r1.ebuild:
stable on alpha and ia64

18 Feb 2004; Joshua Kinard perl-5.8.2-r1.ebuild:
Marking stable on mips

09 Feb 2004; Bartosch Pixa perl-5.8.2-r1.ebuild:
set ppc in keywords

06 Feb 2004; perl-5.8.2-r1.ebuild:
stable on sparc

03 Feb 2004; perl-5.8.2-r1.ebuild:
stable on hppa

01 Feb 2004; perl-5.8.2-r1.ebuild:
mark x86

*perl-5.8.3 (17 Jan 2004)

17 Jan 2004; perl-5.8.1-r1.ebuild, perl-5.8.1-r2.ebuild,
perl-5.8.3.ebuild, files/perl-5.8.1-perldoc-emptydirs.patch,
files/perl-5.8.1-prelink-lpthread.patch, files/perl-5.8.1-reorder-INC.patch,
files/perl-5.8.1_rc1-reorder-INC.patch,
files/perl-5.8.1_rc1-sockatmark-should-__THROW.patch,
files/perl-5.8.1_rc2-reorder-INC.patch,
files/perl-5.8.1_rc2-sockatmark-should-__THROW.patch,
files/perl-5.8.3-perldoc-emptydirs.patch, files/perl-5.8.3-picdl.patch,
files/perl-5.8.3-prelink-lpthread.patch, files/perl-5.8.3-reorder-INC.patch:
Upstream bump, housecleaning

06 Jan 2004; Luca Barbato perl-5.8.0-r12.ebuild:
Marked ~arm to let me commit ppc related changes (it is as wierd as it sound)

*perl-5.8.2-r1 (29 Nov 2003)

29 Nov 2003; perl-5.8.2-r1.ebuild,
files/perl-5.8.2-picdl.patch:
Make CCCDLFLAGS apply to static archives like DynaLoader.a as well, even
though we are not building a shared libperl here, because we do have a shared
library elsewhere. Should make it so that arches like amd64 and hppa no longer
have to add -fPIC to all cflags blindly.

26 Nov 2003; perl-5.8.2.ebuild:
Make perl depend on exact same libperl version, so that upgrading perl will
bring libperl along. Solves problems where new modules go into directories in
@INC too new for libperl to know about

16 Nov 2003; Brad House perl-5.8.2.ebuild:
mark stable on amd64

*perl-5.8.2 (08 Nov 2003)

08 Nov 2003; perl-5.8.2.ebuild,
files/perl-5.8.2-perldoc-emptydirs.patch,
files/perl-5.8.2-prelink-lpthread.patch, files/perl-5.8.2-reorder-INC.patch:
new upstream version

22 Oct 2003; perl-5.8.1-r2.ebuild,
files/perl-5.8.1-perldoc-emptydirs.patch:
Forward-port the perldoc emptydirs patch

20 Oct 2003; Michael Cummings perl-5.8.1-r1.ebuild,
perl-5.8.1-r2.ebuild:
Changed how h2ph grabs its list of files; relying on h2ph to efficiently
recurse was resulting a looping condition when there is a symlink in
/usr/include/* (libxml was the sample case - thanks DarkSpecter!). Using find
isolates the list to only .h files.

14 Oct 2003; perl-5.8.1-r2.ebuild:
Allow building even when db-1 is not present, but let ndbm_file use it if it's
there

*perl-5.8.1-r2 (02 Oct 2003)

02 Oct 2003; perl-5.8.1-r2.ebuild, perl-5.8.1.ebuild,
perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild, perl-5.8.1_rc3.ebuild,
perl-5.8.1_rc4.ebuild, files/perl-5.8.1-prelink-lpthread.patch:
Clean house, readd pthread prelink patch to avoid reported sdl segfaulting.
Thanks to lisa for the report.

*perl-5.8.1-r1 (29 Sep 2003)

29 Sep 2003; perl-5.8.1-r1.ebuild:
Change destdir handling in a couple of places

*perl-5.8.1 (27 Sep 2003)

27 Sep 2003; perl-5.8.1.ebuild,
files/perl-5.8.1-reorder-INC.patch:
New upstream revision

17 Sep 2003; Jon Portnoy perl-5.8.0-r12.ebuild :
ia64 keywords.

22 Aug 2003; Michael Cummings perl-5.6.1-r10.ebuild,
perl-5.6.1-r11.ebuild, perl-5.6.1-r12.ebuild, perl-5.8.0-r10.ebuild,
perl-5.8.0-r11.ebuild, perl-5.8.0-r12.ebuild, perl-5.8.0-r9.ebuild,
perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild, perl-5.8.1_rc3.ebuild:
Corrected h2ph behaviour to now run -r -l -- recursively :)
Also fixes bug 14461

*perl-5.8.1_rc3 (30 Jul 2003)

30 Jul 2003; Michael Cummings perl-5.8.1_rc3.ebuild:
Latest release candidate for 5.8.1

25 Jul 2003; perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild:
Forward-port alpha and hppa fixes from 5.8.0-r9

25 Jul 2003; perl-5.8.0-r12.ebuild:
Remove ~arch protection on all but hppa

*perl-5.8.1_rc2 (23 Jul 2003)

23 Jul 2003; perl-5.8.1_rc2.ebuild,
files/perl-5.8.1_rc2-reorder-INC.patch,
files/perl-5.8.1_rc2-sockatmark-should-__THROW.patch:
Add 5.8.1-rc2

18 Jul 2003; perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
Add blocker on Test-Simple versions that overwrite the core

18 Jul 2003; perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
Portage depends to >=2.0.48-r4. This is important for blocking depends

16 Jul 2003; perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
Add portage depend on version that fixes bug 23546, so the blocking depends
will be guaranteed to work even if people are upgrading

15 Jul 2003; perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
Fiddle with the module block depends a bit, largely to ensure that File-Spec
0.84 doesn't fall through the cracks

*perl-5.8.1_rc1 (10 Jul 2003)

10 Jul 2003; perl-5.8.1_rc1.ebuild,
files/perl-5.8.1_rc1-reorder-INC.patch,
files/perl-5.8.1_rc1-sockatmark-should-__THROW.patch:
Add 5.8.1_rc1. Experimental.

01 Jul 2003; Todd Sunderlin perl-5.8.0-r11.ebuild:
set stable on sparc

26 Jun 2003; perl-5.8.0-r10.ebuild, perl-5.8.0-r11.ebuild,
perl-5.8.0-r12.ebuild:
Add -Dd_u32align on mips to work around a gcc 3.3 kernel compiling bug

26 Jun 2003; perl-5.8.0-r12.ebuild:
Add block depends on ExtUtils-MakeMaker and File-Spec, because we need to get
those uninstalled before they steal our files again

*perl-5.8.0-r12 (25 Jun 2003)

25 Jul 2003; Guy Martin perl-5.8.0-r12.ebuild :
Marked stable on hppa.

25 Jun 2003; perl-5.8.0-r12.ebuild,
files/perl-5.8.0-reorder-INC.patch:
Reorder @INC so that site modules can override vendor modules, which can in
turn override core modules.

24 Jun 2003; Aron Griffis perl-5.8.0-r10.ebuild:
Mark stable on alpha

10 Jun 2003; perl-5.6.1-r12.ebuild:
Mark stable on x86

06 Jun 2003; perl-5.6.1-r12.ebuild:
Add sed-4 dependency to use sed -i

04 Jun 2003; perl-5.8.0-r11.ebuild:
Relax db DEPEND as well as RDEPEND. Thanks to mcummings for the catch.

*perl-5.8.0-r11 (03 Jun 2003)

03 Jun 2003; perl-5.8.0-r11.ebuild:
Clean out libperl bits from ebuild. Grab newer version of Safe.pm from CPAN
for security reasons, DB_File for db 4.1 compatibility.

*perl-5.6.1-r12 (02 Jun 2003)

02 Jun 2003; perl-5.6.1-r12.ebuild:
Replace PDEPEND strategy for ExtUtils::MakeMaker and Safe.pm with the approach
of injecting newer versions directly into the core

*perl-5.6.1-r11 (31 May 2003)

31 May 2003; Alastair Tse perl-5.6.1-r10.ebuild,
perl-5.6.1-r11.ebuild, files/5.6.1-builtin-fixup.diff,
files/5.6.1-op-test-fix.diff, files/stat.t:
Putting perl-5.6.1 back in because it breaks the default-1.0 profile.

30 May 2003; perl-5.6.1-r10.ebuild, perl-5.6.1-r11.ebuild,
perl-5.8.0-r10.ebuild, files/5.6.1-builtin-fixup.diff,
files/5.6.1-op-test-fix.diff:
Marking stable on mips, thanks to dragon and kumba for verification and
mcummings for coordination. Also cleaning 5.6.1 ebuilds, as all marked
arches now have a stable 5.8 version

27 May 2003; perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild:
Add threads to IUSE, thanks to liquidx for the catch

20 May 2003; Tavis Ormandy perl-5.8.0-r10.ebuild:
removing gcc hardcodes.

18 May 2003; Tavis Ormandy perl-5.8.0-r9.ebuild:
removing hardcoded compiler.

*perl-5.8.0-r10 (30 Mar 2003)

23 Apr 2003; perl-5.8.0-r10.ebuild:
Only build extra HTML documentation if USE="doc" is set - thanks to
msterret@gentoo.org - bug #16401

07 Apr 2003; Martin Holzer perl-5.6.1-r10.ebuild,
perl-5.6.1-r11.ebuild, perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild:
Changes portage version depend. Closes #13339.

30 Mar 2003; perl-5.8.0-r10.ebuild:
marking stable again on x86 and ppc - previous sparc keyword commit undid this
and broke things

30 Mar 2003; Rodney Rees perl-5.8.0-r10.ebuild,
marked stable for sparc

*perl-5.8.0-r10 (11 Mar 2003)

27 Mar 2003; perl-5.8.0-r10.ebuild:
Marking stable for x86 and ppc, no problems reported from ~arch testers

11 Mar 2003; Seemant Kulleen perl-5.6.1-r10.ebuild,
perl-5.6.1-r11.ebuild, perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild,
files/5.6.1-builtin-fixup.diff, files/5.6.1-op-test-fix.diff,
files/libperl-5.8.0-create-libperl-soname.patch, files/libperl_rebuilder,
files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch,
files/perl-5.8.0-perldoc-emptydirs.patch,
files/perl-5.8.0-prelink-lpthread.patch,
files/perl-5.8.0-sockatmark-should-__THROW.patch, files/stat.t:
moved to dev-lang from sys-devel

*perl-5.8.0-r10 (28 Feb 2003)

01 Mar 2003; Brandon Low perl-5.8.0-r10.ebuild,
perl-5.8.0-r9.ebuild:
Make use emake instead of make, but still use 1 process build where needed

28 Feb 2003; perl-5.8.0-r10.ebuild:
Ensure that libpthread is linked against by perl, so that runtime
signal handling works correctly (bug #14380).

Patch perldoc to not abort when it attempts to search nonexistent
directories (bug #16589).

*perl-5.6.1-r11 (14 Feb 2003)

24 Mar 2003; perl-5.6.1-r10.ebuild, perl-5.6.1-r11.ebuild:
Remove spurious '$' from head of SRC_URI

16 Mar 2003; Jan Seidel :
Added mips to KEYWORDS

14 Feb 2003; Mark Guertin perl-5.6.1-r11.ebuild :
Set to ppc stable

14 Feb 2003; Mark Guertin perl-5.6.1-r11.ebuild files/5.6.1-builtin-fixup.diff files/5.6.1-op-test-fix.diff files/digest-perl-5.6.1-r11 :
built-in sed fixups, placed in makefile.SH instead of randomly thru the build. Thanks to rac for all his help and an lfs patch

11 Feb 2003; Guy Martin perl-5.8.0-r9.ebuild :
Added hppa to keywords.

*perl-5.8.0-r9 (15 Jan 2003)

23 Feb 2003; Guy Martin perl-5.8.0-r9.ebuild :
Added -fPIC to CFLAGS on hppa. It's needed by apps linking to some perl libs.

18 Feb 2003; Zach Welch perl-5.8.0-r9.ebuild :
Added arm to keywords.

10 Feb 2003; Seemant Kulleen *.ebuild :

removed old and crusty ebuilds, there were just way too many in here.
Also, changed sed statements to use : instead of /

05 Feb 2003; J Robert Ray perl-5.8.0-r9.ebuild; Changed to strip
"-malign-double" from CFLAGS, fixing bug 14608.

17 Jan 2003;Michael Cummings perl-5.8.0-r9;

Another blundered typo. The flag-o-matic include had a "0" instead of a "O"

16 Jan 2003; Michael Cummings perl-5.8.0-r9;

Typo fix, this one in an einfo.
Incorporate flag-o-matic per bug 13952 - the -Os flag doesn't work with perl

15 Jan 2003; Michael Cummings perl-5.8.0-r9;

Major typo corrections that affected the placement of scripts and the man
pages. There was a typo introduced into the 5.8 ebuilds early on that was
not caught until now that left the location of the man pages blank and that
misset the /usr call for scripts placement from perl modules. This was caught
in bugs 13886 and 13920

15 Jan 2003; J Robert Ray libperl_rebuilder : Fixed
unfortunate typo.

*perl-5.8.0-r8 (06 Jan 2003)

12 Jan 2003; Michael Cummings perl-5.8.0-r8,
libperl_rebuilder:

ebuild - Put a sleep where we had one in the else block so that there is a
pause before emerging (notice regarding threads). Added a sleep at the tail
end of the ebuild so that there is a pause for folks doing an emerge -u world
so that they at leat have an opportunity to see the notice.
libperl_rebuilder - Removed the unmerge section, that's really overkill for
our needs and only complicates things. Added new syntax to check for files
installed into /usr/lib/perl* that weren't picked up previously. Changed the
name of the log file to perl-update.log (makes more sense ;) ) Added mask
check earlier in the sanity phase.

08 Jan 2003; Seemant Kulleen perl-5.8.0-r8.ebuild :

Unmasked for sparc.

08 Jan 2003; Brandon Low perl-5.8.0-r8:
Later that day: dosed smells funny, switch some of it
to use just sed and a for loop, this smells better
to me, and fixed the problems I was having with
${D} staying in the files.

08 Jan 2003; Martin Schlemmer perl-5.8.0-r8:
Remove a wild 'test' from comments =)

08 Jan 2003; Michael Cummings perl-5.8.0-r8:
Unmasking for x86.

08 Jan 2003; Brandon Low perl-5.8.0-r8:
Updated ewarn at the top so that it makes sense (was telling a user
they could use threads when they already were)

06 Jan 2003; Michael Cummings perl-5.8.0-r8:
Updated einfo, added libperl ebuild. I've placed the libperl rebuilder
in the filesdir and added a note about it to the pkg_postinstall. Thanks
go to Azarah for the new set of ebuilds.

03 Jan 2002; Michael Cummings perl-5.6.1-r10:
small fix to regex of x2p/makefile - cp'ied the process further down the
ebuild since this is rebuilt at each stage. This is for gcc-3.2 users
in particular and should take care of bug 12853

27 Dec 2002; Michael Cummings
perl-5.8.0-r7.ebuild:

Added depend for automake

27 Dec 2002; Michael Cummings
perl-5.6.1-r10:

Added depend for automake

27 Dec 2002; Michael Cummings
perl-5.8.0-r7.ebuild:

Note for remerging perl modules added. Unmasked for x86.

*perl-5.8.0-r7 (22 Dec 2002)

22 Dec 2002; Michael Cummings
perl-5.8.0-r7.ebuild:

PLEASE READ. There was a problem introduced for non threaded perl
5.8's - a correction introduced earlier for threaded perls was adding
-thread to the name of your arch. THIS CAUSES PROBLEMS FOR SOME
MODULES. For instance, the DBI module checks to see what the name of
your Config.pm has listed for $Config{archname} - if it had thread in
it *anywhere*, it assumed you had threading enabled, but since your
perl was failing to use threads, would fail. This will version of the
ebuild will correct that. You will need to re-emerge modules installed
with perl 5.8. A tool for this is forthcoming.


20 Dec 2002; Michael Cummings
perl-5.8.0-r6.ebuild:

Finished what Lostlogic started - finished path corrections for
threading vs unthreaded perl 5.8

20 Dec 2002; Michael Cummings
perl-5.6.1-r10.ebuild:

new ebuild confirmed by arch devs - Gerk did ppc, Alron did sparc

*perl-5.6.1-r10 (19 Dec 2002)

07 Feb 2003; Guy Martin perl-5.6.1-r9.ebuild perl-5.6.1-r10.ebuild :
Added hppa to keywords.

19 Jan 2003; Jan Seidel :
Unmasking for mips

19 Dec 2002; Michael Cummings
perl-5.6.1-r10.ebuild:

Contains patch for safe.pm - security bug, see bug 12190.

19 Dec 2002; Michael Cummings
perl-5.8.0-r6.ebuild:

Same name, different ebuild. This is for the safe.pm fix.

*perl-5.8.0-r6 (17 Dec 2002)

17 Dec 2002; Brandon Low perl-5.8.0-r6.ebuild :
-arch this bad boy, it reb0rk what I unb0rk last night, stick with -r5
will probably skip -r6 for the moment and go to -r7 with some more
fixage when we know what to refix more :)

17 Dec 2002; Michael Cummings
perl-5.8.0-r6.ebuild:

Further fixes to path writing. If the user asks for threading, the
dirs are $[arch]-linux-thread-multi. If not, the paths are
$[arch]-linux - this is correct behaviour!! Installation with
threading is *not* supported by all apps that dep perl.

*perl-5.8.0-r5 (17 Dec 2002)

17 Dec 2002; Brandon Low perl-5.8.0-r5.ebuild:

Fix threading use flag thingus, it doesn't put things in ${D}/${D} later
now. Fix messages to only display if needed. You will need to remerge
all your perl modules after you install this with threads.

*perl-5.8.0-r4 (15 Dec 2002)

15 Dec 2002; Michael Cummings
perl-5.8.0-r4.ebuild:

Made threading an internal use flag. This is to be used with caution.
Added eerror messages to warn users of potential probs.

13 Dec 2002; Martin Schlemmer perl-5.6.1-r9.ebuild :

Fix screwup in DEPEND, RDEPEND and PDEPEND.

12 Dec 2002; Michael Cummings
perl-5.6.1-r9.ebuild:

PDEPEND is in portage now, can unmask this. This -r installs the
makemaker fix after installing perl - finally fixed. Thanks carpaski!

11 Dec 2002; Michael Cummings
perl-5.8.0-r3.ebuild:

Busy day =:) Added LC_ALL=C into 5.8 (a fix made for 5.6.1, but lost)

11 Dec 2002; Michael Cummings
perl-5.8.0-r3.ebuild:

Changed emake back to make. bcowan pointed out that the parallel
make fails for him, which is legit

11 Dec 2002; Michael Cummings
perl-5.6.1-r9.ebuild:

Pulled until PDEPEND is in. This worked only for those not behind
firewalls, and unfortunately perl needs to work across the board.

*perl-5.6.1-r9 (10 Dec 2002)

10 Dec 2002; Michael Cummings
perl-5.6.1-r9.ebuild:

Major fixes, including the inclusion of the ExtUtils-MakeMaker fix
directly into perl's ebuild (thanks seemant!).

* Autoupdate keywords (12-6-02)
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

26 Nov 2002; Michael Cummings :

Corrected deps in perl-5.6.1-r8 per bugs 4116 and 9314

*perl-5.6.1-r8 (13 Oct 2002)

22 Nov 2002;

Added einfo note (finally) to instruct users to install MakeMaker
patch. Also added catch for cases where -gdbm and -berkdb are in
the use flags - perl requires at least one of them to be available

Second incantation of -r8. This time, it is for LC_ALL=C being added to
the ebuild itself. Perl won't compile correctly otherwise and handles
internationaliztion post install.

13 Oct 2002; Seemant Kulleen perl-5.6.1-r8.ebuild
files/digest-perl-5.6.1-r8 :

The fixes from -r7 didn't seem to make it into portage. So this version
has those, plus the updated MakeMaker. should close bug #8998 by
rac@intrigue.com (Robert Coie)

*perl-5.6.1-r7 (02 Oct 2002)

02 Oct 2002; mcummings : Thanks entirely to seemant,
this release incorporates the MakeMaker fix directly into perl ebuild process.

*perl-5.8.0-r3 (13 Sep 2002)

13 Sep 2002; : r3 is a cleaner ebuild that should have added support for other platforms.

*perl-5.8.0-r2 (16 Aug 2002)

16 Aug 2002; Michael Cummings : added
fix for gcc compile flags that corrects problems with apps
compiling against perl.

*perl-5.8.0-r1 (10 Aug 2002)

05 Aug 2002; Michael Cummings : added
threading, fixed hard coded architecture prefix, cleaned up
ebuild

*perl-5.8.0 (28 Jul 2002)

05 Aug 2002; pvdabeel : fix header

28 Jul 2002; Maik Schreiber : version bump

*perl-5.6.1-r6 (04 Aug 2002)

27 Aug 2002; mcummings : Added stat.t fix,
fixes compile problems on boxes with no suid's in the */bin's
bug 7120, affects fresh installs only

05 Aug 2002; pvdabeel : Added ppc keyword

05 Aug 2002; pvdabeel : changelog entry

*perl-5.6.1-r5 (25 Jul 2002)

05 Aug 2002; pvdabeel :
fix header

26 Jul 2002; Spider :
fix SRC_URI to become pub/CPAN instead of pub/perl/CPAN

25 Jul 2002; Spider perl-5.6.1-r5.ebuild
minor patch to make it build on my gcc 3.1-r8 system

*perl-5.6.1-r4 (20 May 2002)

05 Aug 2002; pvdabeel :
fix header

26 Jul 2002; Spider :
fix SRC_URI to become pub/CPAN instead of pub/perl/CPAN

20 May 2002; Preston A. Elder perl-5.6.1-r4.ebuild
files/digest-perl-5.6.1-r4 :

Added ebuild that works with gcc 3.1.

*perl-5.6.1-r3 (5 May 2002)

5 May 2002; Seemant Kulleen perl-5.6.1-r4.ebuild
files/digest-perl-5.6.1-r4 :

Added an eclass called perl-post.eclass, which this ebuild now inherits,
so that the .pod file in ${libarchdir} gets updated cleanly with
emerging and unmerging.

*perl-5.6.1-r3 (21 Mar 2002)

21 Mar 2002; Seemant Kulleen perl-5.6.1-r3.ebuild :

HTML documentation no longer gets gzipped, but a revision upgrade wasn't
absolutely necessary, I don't think. Thanks to stefan@mdy.univie.ac.at
for pointing it out.

*perl-5.6.1-r3 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX perl-5.8.7-MakeMaker-RUNPATH.patch 859 RMD160 b0e95fcd9b1bbc085e9986f8910e3fbcf3f78eb2 SHA1 1e7c2f05ffaf8f6aee753ab106a9798e6920ff06 SHA256 3d327c525e0cf57899eca48d417fa4363f40da9b0d6b70b61e951521749047ab
AUX perl-5.8.8-CAN-2005-0448-rmtree.patch 6961 RMD160 bf242f32c1e1450a7d4d252cdc54cace36b50c62 SHA1 97d1f3a3b2d75b7a82983b1f98d4445ff82d2c19 SHA256 d6565afabbc35e0e1aeecfb469eaf037f892834312a7c2616357a309cd56e3f1
AUX perl-5.8.8-CVE-2008-1927.patch 8129 RMD160 523467accd75f42ea254b1aed219efbfc2c32637 SHA1 0a36c92bb3c59064f3370376a76ef66c63fb1ba4 SHA256 614ebf7a0885fb5f7203627a3051f4df8fee2988d6bfec5a3d8fe70d97f9e45b
AUX perl-5.8.8-USE_MM_LD_RUN_PATH.patch 4963 RMD160 96dfe54660afdcbd24007ffce886f667270694e7 SHA1 e6a28992b63762985846d10661352d40dbd61370 SHA256 49527cd4272ba177b39562363bf34ec6c7b6e709ee6ac770b7fccc302d18b459
AUX perl-5.8.8-asm-page-h-compile-failure.patch 384 RMD160 cb55d65bd1245019689f7a6241d313f45cc0ecda SHA1 69f7ee3d09abfba81d4b3976263b23491cb39f10 SHA256 b6be7b879d07a0f5a80ec775ce122d84a126a860471ccd86e4f32cbc2c90f704
AUX perl-5.8.8-cplusplus.patch 854 RMD160 1fbfc7ec9940622beb644ce0fa98a6f52131c9db SHA1 e4718e0b1c869ec56d59466caed3fab555848085 SHA256 ea1368e609b0d992b6cd5f92c327768d8c61ca2096826f26af2576263efb8a89
AUX perl-5.8.8-dragonfly-clean.patch 5211 RMD160 d2411913185276cd9c9aa55a614ae2ed13d22fe9 SHA1 2d2bb9a8b7fa312229d5e13eea845384069d7e2f SHA256 08b22fe26695f6f7f7d21ca2628954eded91205b64450e24d0b295eb75952b6c
AUX perl-5.8.8-fbsdhints.patch 1190 RMD160 c55ec6943e7a3957939d3a1f348d01496eefe0e8 SHA1 bf6902ec664f69a442b4de8eff0040fcbbcdaa59 SHA256 339a73f860025b53ef12a394138abb71ec22c027c5a338fb6f29085e127c321b
AUX perl-5.8.8-gcc42-command-line.patch 497 RMD160 5fe723ae71be6c6316f11ca2219f489fce60101c SHA1 ae75dfd80b59afb23377fdf491b46b7a561714d7 SHA256 946d02284221bc3615e1f03afda1735e6da0296b03315e2a644bd784ad6f76d1
AUX perl-5.8.8-lib64.patch 3393 RMD160 406206c33b10b4af8cb2d1aba2fa6aadf5d9eea6 SHA1 d2e3bced513435dd66634d89938d65aa5839e7a8 SHA256 3efe8048934093a1a66bc37b22fbb56a6e10df2940bb85b57802c9129c9bd1bd
AUX perl-5.8.8-libbits.patch 3417 RMD160 56a56ffc18af62bf2735a62797bb29c12ff3a3dd SHA1 2432c3d8f98baadace064b795cc580c80bebdedf SHA256 084a55f7cdffa615ddb0cf57d2028a16f4ca5120202af9dbacd90bcdf03774e6
AUX perl-5.8.8-links.patch 2925 RMD160 68116f3922d1e4d818cf65965b1886fc55b14faf SHA1 849ef26d29369470985eb54ede94a6be6764878b SHA256 aeecee505f05ab0d7336142119f7a3e6d061b8fd2c7bbf9bd88cfb0421323bea
AUX perl-5.8.8-makedepend-syntax.patch 341 RMD160 8d0ee189b86c7c3b6467512a7be25cf8d1a38e68 SHA1 1b604713de487ada27d177d85755784cd3058397 SHA256 f4ff3678b992774552d9ebc9ca7f3da1ae0144077eb52365e96ddbd0ba9c2606
AUX perl-5.8.8-perlcc.patch 559 RMD160 cedf2f1666b4add3ef6baed214e31d76b4b6731d SHA1 1104b880d9570599308609fd793ded5bd2f450db SHA256 7c212d320ec34cf8d0d5443ce5fad5c94a9fa9075462d54ddd8cc5716a2f2aa9
AUX perl-5.8.8-reorder-INC.patch 3046 RMD160 73bc824bebee8889073656a7b547dc63b35696dc SHA1 ec56010c38cbadce6fccf7ba314cfc7f42f470c6 SHA256 136ca6c6cfaa3467f6a164f26b34ff06cc55823ca5723118764589cc15d37aed
AUX perl-5.8.8-utf8-boundary.patch 1866 RMD160 c65ee9df8b9f71504420b905be2067220ef9daaa SHA1 38eb633f427bf7cd843843bff525dbc50116df8b SHA256 62848b35ed88c7d3a1a836903707b467e421321810e18792da41b28f9e7124a1
AUX perl-h2ph-ansi-header.patch 446 RMD160 8baf89df0d3f916a8c4f437444fa1af01f5fa8b0 SHA1 31f0a7e7444e914bec2a0a3e41838eb82e038e6f SHA256 dc28a8ccba56e0aa5e01b0ecf68a163ebfb9460917d201f1f6d9a1efef06c788
AUX perl-hppa-pa7200-configure.patch 446 RMD160 ab902e2b5cf7f96023e0e267f170401b036dd4f5 SHA1 fcb7e61cdf1ce1c9993f257507b3289ce45382d7 SHA256 4fe6a010dbdc39325f4003e7ccd02cb7996b4a99b64ab0fa8b12d6fe67f87a31
AUX perl-noksh.patch 611 RMD160 6ddb9e7140c60e05042c3c488c97399a86f965fc SHA1 61bf5bb0955bd04a758d1381fa4260ed9fdbb1d1 SHA256 0861f7f54c184e99a0ffeebeab9420d969d2002f921bc3fb14841a1e24be1f5e
AUX perl-perldoc-emptydirs.patch 489 RMD160 66d619f5811c1c35d16776e23a0a580bd83fe19b SHA1 d8f852db37fb1e5d1085bc94cab79c3422c12a84 SHA256 e8c52d67793f0a5ae0aee52a3b9db2b348a1303b57069d6f82c4bb499f45ee2f
AUX perl-picdl.patch 250 RMD160 2a9cb2fe5debb0db2d3fd063f52f459ee4f4946f SHA1 3000bd0130ed20e0ff5d9fb0147240e3909473a7 SHA256 fdbe94e869457b7e62bdc76b82a13ecd6e500c223d609b1767285190efd63cfa
AUX perl-prelink-lpthread.patch 476 RMD160 f3252258e5f7a0f82b5f9ea49598ea9f4b0b44b6 SHA1 4202c290c578dfec58d5dbebf7f8f780a483f908 SHA256 289d0bdd08105e7fdf1c2d683d76a0cdcd009998f3ecd84f3a75cf79ab84e7a0
AUX perl-regexp-nossp.patch 460 RMD160 dde3a25904275896e98d7b7f3a02926c8dbc5ca5 SHA1 e7de561f7885fb3d49635fa2dc733c0eed63b987 SHA256 e2d923711bb856b3c7f790dbc1cd1f468d647c1e50a3ff8a18745023c73b3e36
DIST perl-5.8.8.tar.bz2 10123359 RMD160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b SHA1 4aab490040727ca4419098720eca2ba4367df539 SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9
EBUILD perl-5.8.8-r2.ebuild 18896 RMD160 50dea3ec5837278cae6a39da93f489e8044a2783 SHA1 6bbf6a1ba8c09b65f67288f571a02281f96128bd SHA256 8c3de3ca4a9896b978601f6093e8d66bc77fbbb1e1ebc847d820c3081b7335c2
EBUILD perl-5.8.8-r3.ebuild 19135 RMD160 ca0b9eb44dc513f36d5c5f3e5737bb905302aa4e SHA1 89ad554b2a3b1d8ef68ab613a6f58879cece5615 SHA256 accc5dfa49afc829439d6a9bd4b1cb4de6752f4bada5800555c2f3511d782b09
EBUILD perl-5.8.8-r4.ebuild 19134 RMD160 3e9ce03261a16fe7b7bf1a5f1d60e2b327baa47b SHA1 76c394bed4e3cecd186cb79e7e11d0bd07860705 SHA256 32664950c3a585ac8f3ab91df8528b9d8cb4974112df39123218960b68a03b95
EBUILD perl-5.8.8-r5.ebuild 19214 RMD160 d612f9ba39d74198d575903a8362913ec3de3713 SHA1 74b21938dc56eeb8015106b367415fb8889e146a SHA256 6fa0241dca956e93ad7be7f7d9e9e84fa941e49e91201ec449c62dcacd521342
MISC ChangeLog 58984 RMD160 5f448e422cfd34b10fb0b3f71410d92e7ce49a1f SHA1 35de96bff4429af11394697987c1d03c031b4807 SHA256 7595ec66ba911de56652ef53b5afbc47d689884df351f0c9e1e4f645d468eda1
MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca

files

metadata.xml




perl

perl@gentoo.org
Primary Maintainer


perl-5.8.8-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r2.ebuild,v 1.45 2008/07/05 23:01:32 wormo Exp $

inherit eutils flag-o-matic toolchain-funcs multilib

# The slot of this binary compat version of libperl.so
PERLSLOT="1"

SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
S="${WORKDIR}/${MY_P}"
SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2"
HOMEPAGE="http://www.perl.org/"
LIBPERL="libperl$(get_libname ${PERLSLOT}.${SHORT_PV})"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb debug doc gdbm ithreads perlsuid build elibc_FreeBSD"
PERL_OLDVERSEN="5.8.0 5.8.2 5.8.4 5.8.5 5.8.6 5.8.7"

DEPEND="berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
>=sys-devel/libperl-${PV}-r1
elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
! !
RDEPEND="~sys-devel/libperl-${PV}
berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
build? (
!perl-core/Test-Harness
!perl-core/PodParser
!dev-perl/Locale-gettext
)"

PDEPEND=">=app-admin/perl-cleaner-1.03
!build? (
>=perl-core/PodParser-1.32
>=perl-core/Test-Harness-2.56
)"

pkg_setup() {
# I think this should rather be displayed if you *have* 'ithreads'
# in USE if it could break things ...
if use ithreads
then
ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
ewarn "interpreter-level threading enabled."
ewarn "Threading is not supported by all applications "
ewarn "that compile against perl. You use threading at "
ewarn "your own discretion. "
epause 5
fi

if [[ ! -f "${ROOT}/usr/$(get_libdir)/${LIBPERL}" ]]
then
# Make sure we have libperl installed ...
eerror "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}! Make sure that you"
eerror "have sys-libs/libperl installed properly ..."
die "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!"
fi
}

src_unpack() {
unpack ${A}

# Get -lpthread linked before -lc. This is needed
# when using glibc >= 2.3, or else runtime signal
# handling breaks. Fixes bug #14380.
# (14 Feb 2003)
# reinstated to try to avoid sdl segfaults 03.10.02
cd ${S}; epatch ${FILESDIR}/${PN}-prelink-lpthread.patch

# Patch perldoc to not abort when it attempts to search
# nonexistent directories; fixes bug #16589.
# (28 Feb 2003)

cd ${S}; epatch ${FILESDIR}/${PN}-perldoc-emptydirs.patch

# this lays the groundwork for solving the issue of what happens
# when people (or ebuilds) install different versiosn of modules
# that are in the core, by rearranging the @INC directory to look
# site -> vendor -> core.
cd ${S}; epatch ${FILESDIR}/${P}-reorder-INC.patch

# some well-intentioned stuff in http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.SOL.4.10.10205231231200.5399-100000%40maxwell.phys.lafayette.edu
# attempts to avoid bringing cccdlflags to bear on static
# extensions (like DynaLoader). i believe this is
# counterproductive on a Gentoo system which has both a shared
# and static libperl, so effectively revert this here.
cd ${S}; epatch ${FILESDIR}/${PN}-picdl.patch

# Configure makes an unwarranted assumption that /bin/ksh is a
# good shell. This patch makes it revert to using /bin/sh unless
# /bin/ksh really is executable. Should fix bug 42665.
# rac 2004.06.09
cd ${S}; epatch ${FILESDIR}/${PN}-noksh.patch

# makedepend.SH contains a syntax error which is ignored by bash but causes
# dash to abort
epatch ${FILESDIR}/${P}-makedepend-syntax.patch

# We do not want the build root in the linked perl module's RUNPATH, so
# strip paths containing PORTAGE_TMPDIR if its set. This is for the
# MakeMaker module, bug #105054.
epatch ${FILESDIR}/${PN}-5.8.7-MakeMaker-RUNPATH.patch

# Starting and hopefully ending with 5.8.7 we observe stack
# corruption with the regexp handling in perls DynaLoader code
# with ssp enabled. This become fatal during compile time so we
# temporally disable ssp on two regexp files till upstream has a
# chance to work it out. Bug #97452
[[ -n $(test-flags -fno-stack-protector) ]] && \
epatch ${FILESDIR}/${PN}-regexp-nossp.patch

# On PA7200, uname -a contains a single quote and we need to
# filter it otherwise configure fails. See #125535.
epatch ${FILESDIR}/perl-hppa-pa7200-configure.patch

#[[ ${get_libdir} == lib64 ]] && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch
use amd64 || use ppc64 && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch

[[ ${CHOST} == *-dragonfly* ]] && cd ${S} && epatch ${FILESDIR}/${P}-dragonfly-clean.patch
[[ ${CHOST} == *-freebsd* ]] && cd ${S} && epatch ${FILESDIR}/${P}-fbsdhints.patch
cd ${S}; epatch ${FILESDIR}/${P}-USE_MM_LD_RUN_PATH.patch
cd ${S}; epatch ${FILESDIR}/${P}-links.patch
# c++ patch - should address swig related items
cd ${S}; epatch ${FILESDIR}/${P}-cplusplus.patch

epatch ${FILESDIR}/${P}-gcc42-command-line.patch

# Newer linux-headers don't include asm/page.h. Fix this.
# Patch from bug 168312, thanks Peter!
has_version '>sys-kernel/linux-headers-2.6.20' && epatch ${FILESDIR}/${P}-asm-page-h-compile-failure.patch

# perlcc fix patch - bug #181229
epatch ${FILESDIR}/${P}-perlcc.patch
}

myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}

src_configure() {
declare -a myconf

# some arches and -O do not mix :)
use arm && replace-flags -O? -O1
use ppc && replace-flags -O? -O1
use ia64 && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
( gcc-specs-ssp && use ia64 ) && append-flags -fno-stack-protector
# This flag makes compiling crash in interesting ways
filter-flags -malign-double
# Fixes bug #97645
use ppc && filter-flags -mpowerpc-gpopt
# Fixes bug #143895 on gcc-4.1.1
filter-flags "-fsched2-use-superblocks"

export LC_ALL="C"

case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;

*) osname="linux" ;;
esac

if use ithreads
then
einfo "using ithreads"
mythreading="-multi"
myconf -Dusethreads
myarch=${CHOST}
myarch="${myarch%%-*}-${osname}-thread"
else
myarch=${CHOST}
myarch="${myarch%%-*}-${osname}"
fi

local inclist=$(for v in $PERL_OLDVERSEN; do echo -n "$v $v/$myarch$mythreading "; done)

# allow either gdbm to provide ndbm (in ) or db1

myndbm='U'
mygdbm='U'
mydb='U'

if use gdbm
then
mygdbm='D'
myndbm='D'
fi
if use berkdb
then
mydb='D'
has_version '=sys-libs/db-1*' && myndbm='D'
fi

myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"

if use mips
then
# this is needed because gcc 3.3-compiled kernels will hang
# the machine trying to run this test - check with `Kumba
# 2003.06.26
myconf -Dd_u32align
fi

if use perlsuid
then
myconf -Dd_dosuid
ewarn "You have enabled Perl's suid compile. Please"
ewarn "read http://search.cpan.org/~nwclark/perl-5.8.8/INSTALL#suidperl"
epause 3
fi

if use debug
then
CFLAGS="${CFLAGS} -g"
myconf -DDEBUGGING
fi

if use sparc
then
myconf -Ud_longdbl
fi

if use alpha && "$(tc-getCC)" == "ccc"
then
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
myconf -Ui_db -Ui_ndbm
fi

[[ -n "${ABI}" ]] && myconf "-Dusrinc=$(get_ml_incdir)"

[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"

if [[ $(get_libdir) != "lib" ]] ; then
# We need to use " and not ', as the written config.sh use ' ...
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi

sh Configure -des \
-Darchname="${myarch}" \
-Dcccdlflags='-fPIC' \
-Dccdlflags='-rdynamic' \
-Dcc="$(tc-getCC)" \
-Dprefix='/usr' \
-Dvendorprefix='/usr' \
-Dsiteprefix='/usr' \
-Dlocincpth=' ' \
-Doptimize="${CFLAGS}" \
-Duselargefiles \
-Dd_semctl_semun \
-Dscriptdir=/usr/bin \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dinstallman1dir=/usr/share/man/man1 \
-Dinstallman3dir=/usr/share/man/man3 \
-Dman1ext='1' \
-Dman3ext='3pm' \
-Dinc_version_list="$inclist" \
-Dcf_by='Gentoo' \
-Ud_csh \
-Dusenm \
"${myconf[@]}" || die "Unable to configure"
}

src_compile() {

# would like to bracket this with a test for the existence of a
# dotfile, but can't clean it automatically now.

src_configure

emake -j1 || die "Unable to make"
}

src_test() {
use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
emake -i test CCDLFLAGS= || die "test failed"
}

src_install() {

export LC_ALL="C"

# Need to do this, else apps do not link to dynamic version of
# the library ...
local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
dodir ${coredir}
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${PERLSLOT})
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)

# Fix for "stupid" modules and programs
dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}

local installtarget=install
if use build ; then
installtarget=install.perl
fi
make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"

rm ${D}/usr/bin/perl
ln -s perl${MY_PV} ${D}/usr/bin/perl

cp -f utils/h2ph utils/h2ph_patched
epatch ${FILESDIR}/${PN}-h2ph-ansi-header.patch

LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
-a -d ${D}/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} < asm/termios.h
syscall.h
syslimits.h
syslog.h
sys/ioctl.h
sys/socket.h
sys/time.h
wait.h
EOF

# This is to fix a missing c flag for backwards compat
for i in `find ${D}/usr/$(get_libdir)/perl5 -iname "Config.pm"`;do
sed -e "s:ccflags=':ccflags='-DPERL5 :" \
-e "s:cppflags=':cppflags='-DPERL5 :" \
${i} > ${i}.new &&\
mv ${i}.new ${i} || die "Sed failed"
done

# A poor fix for the miniperl issues
dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
fperms 0755 /usr/bin/xsubpp

# This removes ${D} from Config.pm and .packlist
for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do
einfo "Removing ${D} from ${i}..."
sed -e "s:${D}::" ${i} > ${i}.new &&\
mv ${i}.new ${i} || die "Sed failed"
done

# Note: find out from psm why we would need/want this.
# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
# find ${D} -name "*NDBM*" | xargs rm -f

dodoc Changes* Artistic Copying README Todo* AUTHORS

if use doc
then
# HTML Documentation
# We expect errors, warnings, and such with the following.

dodir /usr/share/doc/${PF}/html
./perl installhtml \
--podroot='.' \
--podpath='lib:ext:pod:vms' \
--recurse \
--htmldir="${D}/usr/share/doc/${PF}/html" \
--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
fi
cd `find ${D} -name Path.pm|sed -e 's/Path.pm//'`
# CAN patch in bug 79685
epatch ${FILESDIR}/${P}-CAN-2005-0448-rmtree.patch

# Remove those items we PDPEND on
rm -f ${D}/usr/bin/pod2usage
rm -f ${D}/usr/bin/podchecker
rm -f ${D}/usr/bin/podselect
rm -f ${D}/usr/bin/prove
rm -f ${D}/usr/share/man/man1/pod2usage*
rm -f ${D}/usr/share/man/man1/podchecker*
rm -f ${D}/usr/share/man/man1/podselect*
rm -f ${D}/usr/share/man/man1/prove*
if use build ; then
src_remove_extra_files
fi

}

src_remove_extra_files()
{
local prefix="./usr" # ./ is important
local bindir="${prefix}/bin"
local perlroot="${prefix}/$(get_libdir)/perl5" # perl installs per-arch dirs
local prV="${perlroot}/${MY_PV}"
# myarch and mythreading are defined inside src_configure()
local prVA="${prV}/${myarch}${mythreading}"

# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
# Then, I added several files to get GNU autotools running
# FIXME: should this be in a separated file to be sourced?
local MINIMAL_PERL_INSTALL="
${bindir}/h2ph
${bindir}/perl
${bindir}/perl${MY_PV}
${bindir}/pod2man
${prV}/attributes.pm
${prV}/AutoLoader.pm
${prV}/autouse.pm
${prV}/base.pm
${prV}/bigint.pm
${prV}/bignum.pm
${prV}/bigrat.pm
${prV}/blib.pm
${prV}/bytes_heavy.pl
${prV}/bytes.pm
${prV}/Carp/Heavy.pm
${prV}/Carp.pm
${prV}/charnames.pm
${prV}/Class/Struct.pm
${prV}/constant.pm
${prV}/diagnostics.pm
${prV}/DirHandle.pm
${prV}/Exporter/Heavy.pm
${prV}/Exporter.pm
${prV}/ExtUtils/Command.pm
${prV}/ExtUtils/Constant.pm
${prV}/ExtUtils/Embed.pm
${prV}/ExtUtils/Installed.pm
${prV}/ExtUtils/Install.pm
${prV}/ExtUtils/Liblist.pm
${prV}/ExtUtils/MakeMaker.pm
${prV}/ExtUtils/Manifest.pm
${prV}/ExtUtils/Mkbootstrap.pm
${prV}/ExtUtils/Mksymlists.pm
${prV}/ExtUtils/MM_Any.pm
${prV}/ExtUtils/MM_MacOS.pm
${prV}/ExtUtils/MM.pm
${prV}/ExtUtils/MM_Unix.pm
${prV}/ExtUtils/MY.pm
${prV}/ExtUtils/Packlist.pm
${prV}/ExtUtils/testlib.pm
${prV}/ExtUtils/Miniperl.pm
${prV}/ExtUtils/Command/MM.pm
${prV}/ExtUtils/Constant/Base.pm
${prV}/ExtUtils/Constant/Utils.pm
${prV}/ExtUtils/Constant/XS.pm
${prV}/ExtUtils/Liblist/Kid.pm
${prV}/ExtUtils/MakeMaker/bytes.pm
${prV}/ExtUtils/MakeMaker/vmsish.pm
${prV}/fields.pm
${prV}/File/Basename.pm
${prV}/File/Compare.pm
${prV}/File/Copy.pm
${prV}/File/Find.pm
${prV}/FileHandle.pm
${prV}/File/Path.pm
${prV}/File/Spec.pm
${prV}/File/Spec/Unix.pm
${prV}/File/stat.pm
${prV}/filetest.pm
${prVA}/attrs.pm
${prVA}/auto/attrs
${prVA}/auto/Cwd/Cwd$(get_libname)
${prVA}/auto/Data/Dumper/Dumper$(get_libname)
${prVA}/auto/DynaLoader/dl_findfile.al
${prVA}/auto/Fcntl/Fcntl$(get_libname)
${prVA}/auto/File/Glob/Glob$(get_libname)
${prVA}/auto/IO/IO$(get_libname)
${prVA}/auto/POSIX/autosplit.ix
${prVA}/auto/POSIX/fstat.al
${prVA}/auto/POSIX/load_imports.al
${prVA}/auto/POSIX/POSIX.bs
${prVA}/auto/POSIX/POSIX$(get_libname)
${prVA}/auto/POSIX/assert.al
${prVA}/auto/POSIX/stat.al
${prVA}/auto/POSIX/tmpfile.al
${prVA}/auto/re/re$(get_libname)
${prVA}/auto/Socket/Socket$(get_libname)
${prVA}/auto/Storable/autosplit.ix
${prVA}/auto/Storable/_retrieve.al
${prVA}/auto/Storable/retrieve.al
${prVA}/auto/Storable/Storable$(get_libname)
${prVA}/auto/Storable/_store.al
${prVA}/auto/Storable/store.al
${prVA}/B/Deparse.pm
${prVA}/B.pm
${prVA}/Config.pm
${prVA}/Config_heavy.pl
${prVA}/CORE/libperl$(get_libname)
${prVA}/Cwd.pm
${prVA}/Data/Dumper.pm
${prVA}/DynaLoader.pm
${prVA}/encoding.pm
${prVA}/Errno.pm
${prVA}/Fcntl.pm
${prVA}/File/Glob.pm
${prVA}/_h2ph_pre.ph
${prVA}/IO/File.pm
${prVA}/IO/Handle.pm
${prVA}/IO/Pipe.pm
${prVA}/IO.pm
${prVA}/IO/Seekable.pm
${prVA}/IO/Select.pm
${prVA}/IO/Socket.pm
${prVA}/lib.pm
${prVA}/NDBM_File.pm
${prVA}/ops.pm
${prVA}/POSIX.pm
${prVA}/re.pm
${prVA}/Socket.pm
${prVA}/Storable.pm
${prVA}/threads
${prVA}/threads.pm
${prVA}/XSLoader.pm
${prV}/Getopt/Long.pm
${prV}/Getopt/Std.pm
${prV}/if.pm
${prV}/integer.pm
${prV}/IO/Socket/INET.pm
${prV}/IO/Socket/UNIX.pm
${prV}/IPC/Open2.pm
${prV}/IPC/Open3.pm
${prV}/less.pm
${prV}/List/Util.pm
${prV}/locale.pm
${prV}/open.pm
${prV}/overload.pm
${prV}/Pod/InputObjects.pm
${prV}/Pod/Man.pm
${prV}/Pod/ParseLink.pm
${prV}/Pod/Parser.pm
${prV}/Pod/Select.pm
${prV}/Pod/Text.pm
${prV}/Pod/Usage.pm
${prV}/PerlIO.pm
${prV}/Scalar/Util.pm
${prV}/SelectSaver.pm
${prV}/sigtrap.pm
${prV}/sort.pm
${prV}/stat.pl
${prV}/strict.pm
${prV}/subs.pm
${prV}/Symbol.pm
${prV}/Text/ParseWords.pm
${prV}/Text/Tabs.pm
${prV}/Text/Wrap.pm
${prV}/Time/Local.pm
${prV}/unicore/Canonical.pl
${prV}/unicore/Exact.pl
${prV}/unicore/lib/gc_sc/Digit.pl
${prV}/unicore/lib/gc_sc/Word.pl
${prV}/unicore/PVA.pl
${prV}/unicore/To/Fold.pl
${prV}/unicore/To/Lower.pl
${prV}/unicore/To/Upper.pl
${prV}/utf8_heavy.pl
${prV}/utf8.pm
${prV}/vars.pm
${prV}/vmsish.pm
${prV}/warnings
${prV}/warnings.pm
${prV}/warnings/register.pm"

if use perlsuid ; then
MINIMAL_PERL_INSTALL="${MINIMAL_PERL_INSTALL}
${bindir}/suidperl
${bindir}/sperl${MY_PV}"
fi

pushd ${D} > /dev/null
# Remove cruft
einfo "Removing files that are not in the minimal install"
echo "${MINIMAL_PERL_INSTALL}"
for f in $(find . -type f); do
has ${f} ${MINIMAL_PERL_INSTALL} || rm -f ${f}
done
# Remove empty directories
find . -depth -type d | xargs -r rmdir &> /dev/null
popd > /dev/null
}

pkg_postinst() {
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
if [[ "${ROOT}" = "/" ]]
then
ebegin "Removing old .ph files"
for DIR in $INC; do
if [[ -d ${ROOT}/$DIR ]]; then
for file in $(find ${ROOT}/$DIR -name "*.ph" -type f); do
rm ${ROOT}/$file
einfo "<< $file"
done
fi
done
# Silently remove the now empty dirs
for DIR in $INC; do
if [[ -d ${ROOT}/$DIR ]]; then
find ${ROOT}/$DIR -depth -type d | xargs -r rmdir &> /dev/null
fi
done
ebegin "Generating ConfigLocal.pm (ignore any error)"
enc2xs -C
ebegin "Converting C header files to the corresponding Perl format"
cd /usr/include;
h2ph *
h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo*
cd /usr/include/linux
h2ph *
fi

# This has been moved into a function because rumor has it that a future release
# of portage will allow us to check what version was just removed - which means
# we will be able to invoke this only as needed :)
# Tried doing this via -z, but $INC is too big...
if [[ "${INC}x" != "x" ]]; then
cleaner_msg
epause 5
fi
}

cleaner_msg() {
eerror "You have had multiple versions of perl. It is recommended"
eerror "that you run perl-cleaner now. perl-cleaner will"
eerror "assist with this transition. This script is capable"
eerror "of cleaning out old .ph files, rebuilding modules for "
eerror "your new version of perl, as well as re-emerging"
eerror "applications that compiled against your old libperl$(get_libname)"
eerror
eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
eerror "Part of the rebuilding of applications compiled against "
eerror "your old libperl involves temporarily unmerging"
eerror "them - interruptions could leave you with unmerged"
eerror "packages before they can be remerged."
eerror ""
eerror "If you have run perl-cleaner and a package still gives"
eerror "you trouble, and re-emerging it fails to correct"
eerror "the problem, please check http://bugs.gentoo.org/"
eerror "for more information or to report a bug."
eerror ""
eerror ""

}

perl-5.8.8-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r3.ebuild,v 1.12 2008/07/05 23:01:32 wormo Exp $

inherit eutils flag-o-matic toolchain-funcs multilib

# The slot of this binary compat version of libperl.so
PERLSLOT="1"

SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
S="${WORKDIR}/${MY_P}"
SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2"
HOMEPAGE="http://www.perl.org/"
LIBPERL="libperl$(get_libname ${PERLSLOT}.${SHORT_PV})"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb debug doc gdbm ithreads perlsuid build elibc_FreeBSD"
PERL_OLDVERSEN="5.8.0 5.8.2 5.8.4 5.8.5 5.8.6 5.8.7"

DEPEND="berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
>=sys-devel/libperl-${PV}-r1
elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
! !
RDEPEND="~sys-devel/libperl-${PV}
berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
build? (
!perl-core/Test-Harness
!perl-core/PodParser
!dev-perl/Locale-gettext
)"

PDEPEND=">=app-admin/perl-cleaner-1.03
!build? (
>=perl-core/PodParser-1.32
>=perl-core/Test-Harness-2.56
)"

pkg_setup() {
# I think this should rather be displayed if you *have* 'ithreads'
# in USE if it could break things ...
if use ithreads
then
ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
ewarn "interpreter-level threading enabled."
ewarn "Threading is not supported by all applications "
ewarn "that compile against perl. You use threading at "
ewarn "your own discretion. "
epause 5
fi

if [[ ! -f "${ROOT}/usr/$(get_libdir)/${LIBPERL}" ]]
then
# Make sure we have libperl installed ...
eerror "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}! Make sure that you"
eerror "have sys-libs/libperl installed properly ..."
die "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!"
fi
}

src_unpack() {
unpack ${A}

# Get -lpthread linked before -lc. This is needed
# when using glibc >= 2.3, or else runtime signal
# handling breaks. Fixes bug #14380.
# (14 Feb 2003)
# reinstated to try to avoid sdl segfaults 03.10.02
cd "${S}"; epatch "${FILESDIR}"/${PN}-prelink-lpthread.patch

# Patch perldoc to not abort when it attempts to search
# nonexistent directories; fixes bug #16589.
# (28 Feb 2003)

cd "${S}"; epatch "${FILESDIR}"/${PN}-perldoc-emptydirs.patch

# this lays the groundwork for solving the issue of what happens
# when people (or ebuilds) install different versiosn of modules
# that are in the core, by rearranging the @INC directory to look
# site -> vendor -> core.
cd "${S}"; epatch "${FILESDIR}"/${P}-reorder-INC.patch

# some well-intentioned stuff in http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.SOL.4.10.10205231231200.5399-100000%40maxwell.phys.lafayette.edu
# attempts to avoid bringing cccdlflags to bear on static
# extensions (like DynaLoader). i believe this is
# counterproductive on a Gentoo system which has both a shared
# and static libperl, so effectively revert this here.
cd "${S}"; epatch "${FILESDIR}"/${PN}-picdl.patch

# Configure makes an unwarranted assumption that /bin/ksh is a
# good shell. This patch makes it revert to using /bin/sh unless
# /bin/ksh really is executable. Should fix bug 42665.
# rac 2004.06.09
cd "${S}"; epatch "${FILESDIR}"/${PN}-noksh.patch

# makedepend.SH contains a syntax error which is ignored by bash but causes
# dash to abort
epatch "${FILESDIR}"/${P}-makedepend-syntax.patch

# We do not want the build root in the linked perl module's RUNPATH, so
# strip paths containing PORTAGE_TMPDIR if its set. This is for the
# MakeMaker module, bug #105054.
epatch "${FILESDIR}"/${PN}-5.8.7-MakeMaker-RUNPATH.patch

# Starting and hopefully ending with 5.8.7 we observe stack
# corruption with the regexp handling in perls DynaLoader code
# with ssp enabled. This become fatal during compile time so we
# temporally disable ssp on two regexp files till upstream has a
# chance to work it out. Bug #97452
[[ -n $(test-flags -fno-stack-protector) ]] && \
epatch "${FILESDIR}"/${PN}-regexp-nossp.patch

# On PA7200, uname -a contains a single quote and we need to
# filter it otherwise configure fails. See #125535.
epatch "${FILESDIR}"/perl-hppa-pa7200-configure.patch

#[[ ${get_libdir} == lib64 ]] && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch
use amd64 || use ppc64 && cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch

[[ ${CHOST} == *-dragonfly* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-dragonfly-clean.patch
[[ ${CHOST} == *-freebsd* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-fbsdhints.patch
cd "${S}"; epatch "${FILESDIR}"/${P}-USE_MM_LD_RUN_PATH.patch
cd "${S}"; epatch "${FILESDIR}"/${P}-links.patch
# c++ patch - should address swig related items
cd "${S}"; epatch "${FILESDIR}"/${P}-cplusplus.patch

epatch "${FILESDIR}"/${P}-gcc42-command-line.patch

# Newer linux-headers don't include asm/page.h. Fix this.
# Patch from bug 168312, thanks Peter!
has_version '>sys-kernel/linux-headers-2.6.20' && epatch "${FILESDIR}"/${P}-asm-page-h-compile-failure.patch

# perlcc fix patch - bug #181229
epatch "${FILESDIR}"/${P}-perlcc.patch

# patch to fix bug #198196
# UTF/Regular expressions boundary error (CVE-2007-5116)
epatch "${FILESDIR}"/${P}-utf8-boundary.patch
}

myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}

src_configure() {
declare -a myconf

# some arches and -O do not mix :)
use arm && replace-flags -O? -O1
use ppc && replace-flags -O? -O1
use ia64 && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
( gcc-specs-ssp && use ia64 ) && append-flags -fno-stack-protector
# This flag makes compiling crash in interesting ways
filter-flags -malign-double
# Fixes bug #97645
use ppc && filter-flags -mpowerpc-gpopt
# Fixes bug #143895 on gcc-4.1.1
filter-flags "-fsched2-use-superblocks"

export LC_ALL="C"

case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;

*) osname="linux" ;;
esac

if use ithreads
then
einfo "using ithreads"
mythreading="-multi"
myconf -Dusethreads
myarch=${CHOST}
myarch="${myarch%%-*}-${osname}-thread"
else
myarch=${CHOST}
myarch="${myarch%%-*}-${osname}"
fi

local inclist=$(for v in $PERL_OLDVERSEN; do echo -n "$v $v/$myarch$mythreading "; done)

# allow either gdbm to provide ndbm (in ) or db1

myndbm='U'
mygdbm='U'
mydb='U'

if use gdbm
then
mygdbm='D'
myndbm='D'
fi
if use berkdb
then
mydb='D'
has_version '=sys-libs/db-1*' && myndbm='D'
fi

myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"

if use mips
then
# this is needed because gcc 3.3-compiled kernels will hang
# the machine trying to run this test - check with `Kumba
# 2003.06.26
myconf -Dd_u32align
fi

if use perlsuid
then
myconf -Dd_dosuid
ewarn "You have enabled Perl's suid compile. Please"
ewarn "read http://search.cpan.org/~nwclark/perl-5.8.8/INSTALL#suidperl"
epause 3
fi

if use debug
then
CFLAGS="${CFLAGS} -g"
myconf -DDEBUGGING
fi

if use sparc
then
myconf -Ud_longdbl
fi

if use alpha && "$(tc-getCC)" == "ccc"
then
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
myconf -Ui_db -Ui_ndbm
fi

[[ -n "${ABI}" ]] && myconf "-Dusrinc=$(get_ml_incdir)"

[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"

if [[ $(get_libdir) != "lib" ]] ; then
# We need to use " and not ', as the written config.sh use ' ...
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi

sh Configure -des \
-Darchname="${myarch}" \
-Dcccdlflags='-fPIC' \
-Dccdlflags='-rdynamic' \
-Dcc="$(tc-getCC)" \
-Dprefix='/usr' \
-Dvendorprefix='/usr' \
-Dsiteprefix='/usr' \
-Dlocincpth=' ' \
-Doptimize="${CFLAGS}" \
-Duselargefiles \
-Dd_semctl_semun \
-Dscriptdir=/usr/bin \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dinstallman1dir=/usr/share/man/man1 \
-Dinstallman3dir=/usr/share/man/man3 \
-Dman1ext='1' \
-Dman3ext='3pm' \
-Dinc_version_list="$inclist" \
-Dcf_by='Gentoo' \
-Ud_csh \
-Dusenm \
"${myconf[@]}" || die "Unable to configure"
}

src_compile() {

# would like to bracket this with a test for the existence of a
# dotfile, but can't clean it automatically now.

src_configure

emake -j1 || die "Unable to make"
}

src_test() {
use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
emake -i test CCDLFLAGS= || die "test failed"
}

src_install() {

export LC_ALL="C"

# Need to do this, else apps do not link to dynamic version of
# the library ...
local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
dodir ${coredir}
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${PERLSLOT})
dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)

# Fix for "stupid" modules and programs
dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}

local installtarget=install
if use build ; then
installtarget=install.perl
fi
make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"

rm "${D}"/usr/bin/perl
ln -s perl${MY_PV} "${D}"/usr/bin/perl

cp -f utils/h2ph utils/h2ph_patched
epatch "${FILESDIR}"/${PN}-h2ph-ansi-header.patch

LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
-a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} < asm/termios.h
syscall.h
syslimits.h
syslog.h
sys/ioctl.h
sys/socket.h
sys/time.h
wait.h
EOF

# This is to fix a missing c flag for backwards compat
for i in `find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm"`;do
sed -e "s:ccflags=':ccflags='-DPERL5 :" \
-e "s:cppflags=':cppflags='-DPERL5 :" \
${i} > ${i}.new &&\
mv ${i}.new ${i} || die "Sed failed"
done

# A poor fix for the miniperl issues
dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
fperms 0755 /usr/bin/xsubpp

# This removes ${D} from Config.pm and .packlist
for i in `find "${D}" -iname "Config.pm"` `find "${D}" -iname ".packlist"`;do
einfo "Removing ${D} from ${i}..."
sed -e "s:${D}::" ${i} > ${i}.new &&\
mv ${i}.new ${i} || die "Sed failed"
done

# Note: find out from psm why we would need/want this.
# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
# find ${D} -name "*NDBM*" | xargs rm -f

dodoc Changes* Artistic Copying README Todo* AUTHORS

if use doc
then
# HTML Documentation
# We expect errors, warnings, and such with the following.

dodir /usr/share/doc/${PF}/html
./perl installhtml \
--podroot='.' \
--podpath='lib:ext:pod:vms' \
--recurse \
--htmldir="${D}/usr/share/doc/${PF}/html" \
--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
fi
cd `find "${D}" -name Path.pm|sed -e 's/Path.pm//'`
# CAN patch in bug 79685
epatch "${FILESDIR}"/${P}-CAN-2005-0448-rmtree.patch

# Remove those items we PDPEND on
rm -f "${D}"/usr/bin/pod2usage
rm -f "${D}"/usr/bin/podchecker
rm -f "${D}"/usr/bin/podselect
rm -f "${D}"/usr/bin/prove
rm -f "${D}"/usr/share/man/man1/pod2usage*
rm -f "${D}"/usr/share/man/man1/podchecker*
rm -f "${D}"/usr/share/man/man1/podselect*
rm -f "${D}"/usr/share/man/man1/prove*
if use build ; then
src_remove_extra_files
fi

}

src_remove_extra_files()
{
local prefix="./usr" # ./ is important
local bindir="${prefix}/bin"
local perlroot="${prefix}/$(get_libdir)/perl5" # perl installs per-arch dirs
local prV="${perlroot}/${MY_PV}"
# myarch and mythreading are defined inside src_configure()
local prVA="${prV}/${myarch}${mythreading}"

# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
# Then, I added several files to get GNU autotools running
# FIXME: should this be in a separated file to be sourced?
local MINIMAL_PERL_INSTALL="
${bindir}/h2ph
${bindir}/perl
${bindir}/perl${MY_PV}
${bindir}/pod2man
${prV}/attributes.pm
${prV}/AutoLoader.pm
${prV}/autouse.pm
${prV}/base.pm
${prV}/bigint.pm
${prV}/bignum.pm
${prV}/bigrat.pm
${prV}/blib.pm
${prV}/bytes_heavy.pl
${prV}/bytes.pm
${prV}/Carp/Heavy.pm
${prV}/Carp.pm
${prV}/charnames.pm
${prV}/Class/Struct.pm
${prV}/constant.pm
${prV}/diagnostics.pm
${prV}/DirHandle.pm
${prV}/Exporter/Heavy.pm
${prV}/Exporter.pm
${prV}/ExtUtils/Command.pm
${prV}/ExtUtils/Constant.pm
${prV}/ExtUtils/Embed.pm
${prV}/ExtUtils/Installed.pm
${prV}/ExtUtils/Install.pm
${prV}/ExtUtils/Liblist.pm
${prV}/ExtUtils/MakeMaker.pm
${prV}/ExtUtils/Manifest.pm
${prV}/ExtUtils/Mkbootstrap.pm
${prV}/ExtUtils/Mksymlists.pm
${prV}/ExtUtils/MM_Any.pm
${prV}/ExtUtils/MM_MacOS.pm
${prV}/ExtUtils/MM.pm
${prV}/ExtUtils/MM_Unix.pm
${prV}/ExtUtils/MY.pm
${prV}/ExtUtils/Packlist.pm
${prV}/ExtUtils/testlib.pm
${prV}/ExtUtils/Miniperl.pm
${prV}/ExtUtils/Command/MM.pm
${prV}/ExtUtils/Constant/Base.pm
${prV}/ExtUtils/Constant/Utils.pm
${prV}/ExtUtils/Constant/XS.pm
${prV}/ExtUtils/Liblist/Kid.pm
${prV}/ExtUtils/MakeMaker/bytes.pm
${prV}/ExtUtils/MakeMaker/vmsish.pm
${prV}/fields.pm
${prV}/File/Basename.pm
${prV}/File/Compare.pm
${prV}/File/Copy.pm
${prV}/File/Find.pm
${prV}/FileHandle.pm
${prV}/File/Path.pm
${prV}/File/Spec.pm
${prV}/File/Spec/Unix.pm
${prV}/File/stat.pm
${prV}/filetest.pm
${prVA}/attrs.pm
${prVA}/auto/attrs
${prVA}/auto/Cwd/Cwd$(get_libname)
${prVA}/auto/Data/Dumper/Dumper$(get_libname)
${prVA}/auto/DynaLoader/dl_findfile.al
${prVA}/auto/Fcntl/Fcntl$(get_libname)
${prVA}/auto/File/Glob/Glob$(get_libname)
${prVA}/auto/IO/IO$(get_libname)
${prVA}/auto/POSIX/autosplit.ix
${prVA}/auto/POSIX/fstat.al
${prVA}/auto/POSIX/load_imports.al
${prVA}/auto/POSIX/POSIX.bs
${prVA}/auto/POSIX/POSIX$(get_libname)
${prVA}/auto/POSIX/assert.al
${prVA}/auto/POSIX/stat.al
${prVA}/auto/POSIX/tmpfile.al
${prVA}/auto/re/re$(get_libname)
${prVA}/auto/Socket/Socket$(get_libname)
${prVA}/auto/Storable/autosplit.ix
${prVA}/auto/Storable/_retrieve.al
${prVA}/auto/Storable/retrieve.al
${prVA}/auto/Storable/Storable$(get_libname)
${prVA}/auto/Storable/_store.al
${prVA}/auto/Storable/store.al
${prVA}/B/Deparse.pm
${prVA}/B.pm
${prVA}/Config.pm
${prVA}/Config_heavy.pl
${prVA}/CORE/libperl$(get_libname)
${prVA}/Cwd.pm
${prVA}/Data/Dumper.pm
${prVA}/DynaLoader.pm
${prVA}/encoding.pm
${prVA}/Errno.pm
${prVA}/Fcntl.pm
${prVA}/File/Glob.pm
${prVA}/_h2ph_pre.ph
${prVA}/IO/File.pm
${prVA}/IO/Handle.pm
${prVA}/IO/Pipe.pm
${prVA}/IO.pm
${prVA}/IO/Seekable.pm
${prVA}/IO/Select.pm
${prVA}/IO/Socket.pm
${prVA}/lib.pm
${prVA}/NDBM_File.pm
${prVA}/ops.pm
${prVA}/POSIX.pm
${prVA}/re.pm
${prVA}/Socket.pm
${prVA}/Storable.pm
${prVA}/threads
${prVA}/threads.pm
${prVA}/XSLoader.pm
${prV}/Getopt/Long.pm
${prV}/Getopt/Std.pm
${prV}/if.pm
${prV}/integer.pm
${prV}/IO/Socket/INET.pm
${prV}/IO/Socket/UNIX.pm
${prV}/IPC/Open2.pm
${prV}/IPC/Open3.pm
${prV}/less.pm
${prV}/List/Util.pm
${prV}/locale.pm
${prV}/open.pm
${prV}/overload.pm
${prV}/Pod/InputObjects.pm
${prV}/Pod/Man.pm
${prV}/Pod/ParseLink.pm
${prV}/Pod/Parser.pm
${prV}/Pod/Select.pm
${prV}/Pod/Text.pm
${prV}/Pod/Usage.pm
${prV}/PerlIO.pm
${prV}/Scalar/Util.pm
${prV}/SelectSaver.pm
${prV}/sigtrap.pm
${prV}/sort.pm
${prV}/stat.pl
${prV}/strict.pm
${prV}/subs.pm
${prV}/Symbol.pm
${prV}/Text/ParseWords.pm
${prV}/Text/Tabs.pm
${prV}/Text/Wrap.pm
${prV}/Time/Local.pm
${prV}/unicore/Canonical.pl
${prV}/unicore/Exact.pl
${prV}/unicore/lib/gc_sc/Digit.pl
${prV}/unicore/lib/gc_sc/Word.pl
${prV}/unicore/PVA.pl
${prV}/unicore/To/Fold.pl
${prV}/unicore/To/Lower.pl
${prV}/unicore/To/Upper.pl
${prV}/utf8_heavy.pl
${prV}/utf8.pm
${prV}/vars.pm
${prV}/vmsish.pm
${prV}/warnings
${prV}/warnings.pm
${prV}/warnings/register.pm"

if use perlsuid ; then
MINIMAL_PERL_INSTALL="${MINIMAL_PERL_INSTALL}
${bindir}/suidperl
${bindir}/sperl${MY_PV}"
fi

pushd "${D}" > /dev/null
# Remove cruft
einfo "Removing files that are not in the minimal install"
echo "${MINIMAL_PERL_INSTALL}"
for f in $(find . -type f); do
has ${f} ${MINIMAL_PERL_INSTALL} || rm -f ${f}
done
# Remove empty directories
find . -depth -type d | xargs -r rmdir &> /dev/null
popd > /dev/null
}

pkg_postinst() {
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
if [[ "${ROOT}" = "/" ]]
then
ebegin "Removing old .ph files"
for DIR in $INC; do
if [[ -d "${ROOT}"/$DIR ]]; then
for file in $(find "${ROOT}"/$DIR -name "*.ph" -type f); do
rm "${ROOT}"/$file
einfo "<< $file"
done
fi
done
# Silently remove the now empty dirs
for DIR in $INC; do
if [[ -d "${ROOT}"/$DIR ]]; then
find "${ROOT}"/$DIR -depth -type d | xargs -r rmdir &> /dev/null
fi
done
ebegin "Generating ConfigLocal.pm (ignore any error)"
enc2xs -C
ebegin "Converting C header files to the corresponding Perl format"
cd /usr/include;
h2ph *
h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo*
cd /usr/include/linux
h2ph *
fi

# This has been moved into a function because rumor has it that a future release
# of portage will allow us to check what version was just removed - which means
# we will be able to invoke this only as needed :)
# Tried doing this via -z, but $INC is too big...
if [[ "${INC}x" != "x" ]]; then
cleaner_msg
epause 5
fi
}

cleaner_msg() {
eerror "You have had multiple versions of perl. It is recommended"
eerror "that you run perl-cleaner now. perl-cleaner will"
eerror "assist with this transition. This script is capable"
eerror "of cleaning out old .ph files, rebuilding modules for "
eerror "your new version of perl, as well as re-emerging"
eerror "applications that compiled against your old libperl$(get_libname)"
eerror
eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
eerror "Part of the rebuilding of applications compiled against "
eerror "your old libperl involves temporarily unmerging"
eerror "them - interruptions could leave you with unmerged"
eerror "packages before they can be remerged."
eerror ""
eerror "If you have run perl-cleaner and a package still gives"
eerror "you trouble, and re-emerging it fails to correct"
eerror "the problem, please check http://bugs.gentoo.org/"
eerror "for more information or to report a bug."
eerror ""
eerror ""

}

perl-5.8.8-r4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r4.ebuild,v 1.3 2008/07/05 23:01:32 wormo Exp $

inherit eutils flag-o-matic toolchain-funcs multilib

# The slot of this binary compat version of libperl.so
PERLSLOT="1"

SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
S="${WORKDIR}/${MY_P}"
SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2"
HOMEPAGE="http://www.perl.org/"
LIBPERL="libperl$(get_libname ${PERLSLOT}.${SHORT_PV})"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb debug doc gdbm ithreads perlsuid build elibc_FreeBSD"
PERL_OLDVERSEN="5.8.0 5.8.2 5.8.4 5.8.5 5.8.6 5.8.7"

DEPEND="berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
>=sys-devel/libperl-${PV}-r1
elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
! !
RDEPEND="~sys-devel/libperl-${PV}
berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
build? (
!perl-core/Test-Harness
!perl-core/PodParser
!dev-perl/Locale-gettext
)"

PDEPEND=">=app-admin/perl-cleaner-1.03
!build? (
>=perl-core/PodParser-1.32
>=perl-core/Test-Harness-2.56
)"

pkg_setup() {
# I think this should rather be displayed if you *have* 'ithreads'
# in USE if it could break things ...
if use ithreads
then
ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
ewarn "interpreter-level threading enabled."
ewarn "Threading is not supported by all applications "
ewarn "that compile against perl. You use threading at "
ewarn "your own discretion. "
epause 5
fi

if [[ ! -f "${ROOT}/usr/$(get_libdir)/${LIBPERL}" ]]
then
# Make sure we have libperl installed ...
eerror "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}! Make sure that you"
eerror "have sys-libs/libperl installed properly ..."
die "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!"
fi
}

src_unpack() {
unpack ${A}

# Get -lpthread linked before -lc. This is needed
# when using glibc >= 2.3, or else runtime signal
# handling breaks. Fixes bug #14380.
# (14 Feb 2003)
# reinstated to try to avoid sdl segfaults 03.10.02
cd "${S}"; epatch "${FILESDIR}"/${PN}-prelink-lpthread.patch

# Patch perldoc to not abort when it attempts to search
# nonexistent directories; fixes bug #16589.
# (28 Feb 2003)

cd "${S}"; epatch "${FILESDIR}"/${PN}-perldoc-emptydirs.patch

# this lays the groundwork for solving the issue of what happens
# when people (or ebuilds) install different versiosn of modules
# that are in the core, by rearranging the @INC directory to look
# site -> vendor -> core.
cd "${S}"; epatch "${FILESDIR}"/${P}-reorder-INC.patch

# some well-intentioned stuff in http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.SOL.4.10.10205231231200.5399-100000%40maxwell.phys.lafayette.edu
# attempts to avoid bringing cccdlflags to bear on static
# extensions (like DynaLoader). i believe this is
# counterproductive on a Gentoo system which has both a shared
# and static libperl, so effectively revert this here.
cd "${S}"; epatch "${FILESDIR}"/${PN}-picdl.patch

# Configure makes an unwarranted assumption that /bin/ksh is a
# good shell. This patch makes it revert to using /bin/sh unless
# /bin/ksh really is executable. Should fix bug 42665.
# rac 2004.06.09
cd "${S}"; epatch "${FILESDIR}"/${PN}-noksh.patch

# makedepend.SH contains a syntax error which is ignored by bash but causes
# dash to abort
epatch "${FILESDIR}"/${P}-makedepend-syntax.patch

# We do not want the build root in the linked perl module's RUNPATH, so
# strip paths containing PORTAGE_TMPDIR if its set. This is for the
# MakeMaker module, bug #105054.
epatch "${FILESDIR}"/${PN}-5.8.7-MakeMaker-RUNPATH.patch

# Starting and hopefully ending with 5.8.7 we observe stack
# corruption with the regexp handling in perls DynaLoader code
# with ssp enabled. This become fatal during compile time so we
# temporally disable ssp on two regexp files till upstream has a
# chance to work it out. Bug #97452
[[ -n $(test-flags -fno-stack-protector) ]] && \
epatch "${FILESDIR}"/${PN}-regexp-nossp.patch

# On PA7200, uname -a contains a single quote and we need to
# filter it otherwise configure fails. See #125535.
epatch "${FILESDIR}"/perl-hppa-pa7200-configure.patch

#[[ ${get_libdir} == lib64 ]] && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch
use amd64 || use ppc64 && cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch

[[ ${CHOST} == *-dragonfly* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-dragonfly-clean.patch
[[ ${CHOST} == *-freebsd* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-fbsdhints.patch
cd "${S}"; epatch "${FILESDIR}"/${P}-USE_MM_LD_RUN_PATH.patch
cd "${S}"; epatch "${FILESDIR}"/${P}-links.patch
# c++ patch - should address swig related items
cd "${S}"; epatch "${FILESDIR}"/${P}-cplusplus.patch

epatch "${FILESDIR}"/${P}-gcc42-command-line.patch

# Newer linux-headers don't include asm/page.h. Fix this.
# Patch from bug 168312, thanks Peter!
has_version '>sys-kernel/linux-headers-2.6.20' && epatch "${FILESDIR}"/${P}-asm-page-h-compile-failure.patch

# perlcc fix patch - bug #181229
epatch "${FILESDIR}"/${P}-perlcc.patch

# patch to fix bug #198196
# UTF/Regular expressions boundary error (CVE-2007-5116)
epatch "${FILESDIR}"/${P}-utf8-boundary.patch
}

myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}

src_configure() {
declare -a myconf

# some arches and -O do not mix :)
use arm && replace-flags -O? -O1
use ppc && replace-flags -O? -O1
use ia64 && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
( gcc-specs-ssp && use ia6