diff options
author | he <he@pkgsrc.org> | 2008-10-10 21:58:43 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2008-10-10 21:58:43 +0000 |
commit | 5c9d47f22a68632d1433e4fe1f40c19b546c73ed (patch) | |
tree | 94416a5de62dc62c0dbedd1f411e80c748c48eaf /lang/perl5/Makefile | |
parent | 528202995a13651cdf921195f7989f68d3fb3ac7 (diff) | |
download | pkgsrc-5c9d47f22a68632d1433e4fe1f40c19b546c73ed.tar.gz |
Update perl5 from version 5.8.8nb8 to 5.10.0.
A large number of packages have had their internal regression tests
run successfully with this update, including mod_perl for Apache.
Pkgsrc changes: a number of our local patches are no longer needed.
Upstream changes from version 5.8.8:
# Core Enhancements
* The feature pragma
* New -E command-line switch
* Defined-or operator
* Switch and Smart Match operator
* Regular expressions
* say()
* Lexical $_
* The _ prototype
* UNITCHECK blocks
* New Pragma, mro
* readdir() may return a "short filename" on Windows
* readpipe() is now overridable
* Default argument for readline()
* state() variables
* Stacked filetest operators
* UNIVERSAL::DOES()
* Formats
* Byte-order modifiers for pack() and unpack()
* no VERSION
* chdir, chmod and chown on filehandles
* OS groups
* Recursive sort subs
* Exceptions in constant folding
* Source filters in @INC
* New internal variables
* Miscellaneous
* UCD 5.0.0
* MAD
* kill() on Windows
# Incompatible Changes
* Packing and UTF-8 strings
* Byte/character count feature in unpack()
* The $* and $# variables have been removed
* substr() lvalues are no longer fixed-length
* Parsing of -f _
* :unique
* Effect of pragmas in eval
* chdir FOO
* Handling of .pmc files
* $^V is now a version object instead of a v-string
* @- and @+ in patterns
* $AUTOLOAD can now be tainted
* Tainting and printf
* undef and signal handlers
* strictures and dereferencing in defined()
* (?p{}) has been removed
* Pseudo-hashes have been removed
* Removal of the bytecode compiler and of perlcc
* Removal of the JPL
* Recursive inheritance detected earlier
# Modules and Pragmata
* Upgrading individual core modules
* Pragmata Changes
* New modules
* Selected Changes to Core Modules
# Utility Changes
# New Documentation
# Performance Enhancements
* In-place sorting
* Lexical array access
* XS-assisted SWASHGET
* Constant subroutines
* PERL_DONT_CREATE_GVSV
* Weak references are cheaper
* sort() enhancements
* Memory optimisations
* UTF-8 cache optimisation
* Sloppy stat on Windows
* Regular expressions optimisations
# Installation and Configuration Improvements
* Configuration improvements
* Compilation improvements
* Installation improvements
* New Or Improved Platforms
# Selected Bug Fixes
# New or Changed Diagnostics
# Changed Internals
* Reordering of SVt_* constants
* Elimination of SVt_PVBM
* New type SVt_BIND
* Removal of CPP symbols
* Less space is used by ops
* New parser
* Use of const
* Mathoms
* AvFLAGS has been removed
* av_* changes
* $^H and %^H
* B:: modules inheritance changed
* Anonymous hash and array constructors
...
See 'perldoc perldelta' or http://perldoc.perl.org/perldelta.html
for explanation of each of these points.
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r-- | lang/perl5/Makefile | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 3e314d08229..e4f324e5b48 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,10 +1,8 @@ -# $NetBSD: Makefile,v 1.137 2008/06/01 22:04:07 he Exp $ +# $NetBSD: Makefile,v 1.138 2008/10/10 21:58:43 he Exp $ -DISTNAME= perl-5.8.8 -PKGREVISION= 8 +DISTNAME= perl-5.10.0 CATEGORIES= lang devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,} -EXTRACT_SUFX= .tar.bz2 DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jlam@pkgsrc.org @@ -261,6 +259,25 @@ CONFIGURE_ARGS+= -Duse64bitint . endif .endif +# Remove a spurious workdir reference +SUBST_CLASSES+= rm +SUBST_STAGE.rm= pre-install +SUBST_FILES.rm= lib/Config_heavy.pl +SUBST_SED.rm= -e "s!^rm_try=\'/.*work/.tools/bin/rm -f!rm_try=\'/bin/rm -f!" + +# Replace our perl as the interpreter +REPLACE_PERL+= lib/Class/ISA.pm +REPLACE_PERL+= lib/File/DosGlob.pm +REPLACE_PERL+= lib/version.pm + +# And replace a perl interpreter during the pre-install stage +# I think this may be a bootstrap script, so can't use REPLACE_PERL +# because that is acted upon already in the pre-configure stage +SUBST_CLASSES+= miniperl +SUBST_STAGE.miniperl= pre-install +SUBST_FILES.miniperl= lib/ExtUtils/xsubpp +SUBST_SED.miniperl= -e "1s:\#!./miniperl:\#!${PERL5}:" + # Some platforms may want the directory mode not to be 0755. This # is, unfortunately, hardcoded in quite a few places in Perl, so # let's substitute what pkgsrc says instead. |