diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-09 06:34:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-09 06:34:32 +0000 |
commit | a3aa1c0d3c2a0786f4005da553f3d33fefd01273 (patch) | |
tree | 9526cb2dd6c2f2c1b16a59d3da52929285978f3d /lang/perl5/files | |
parent | 2303de8f6656e5151181f032875e6fd64d4ad14c (diff) | |
download | pkgsrc-a3aa1c0d3c2a0786f4005da553f3d33fefd01273.tar.gz |
Update lang/perl5 to 5.8.8. Changes from version 5.8.7 include:
* Updates of many standard Perl modules.
* Performance enhancements for loadable modules and memory usage.
* Fixed bug when running with "-w". Previously when running with
warnings enabled globally via "-w", selective disabling of specific
warning categories would actually turn off all warnings. This
is now fixed; now "no warnings 'io';" will only turn off warnings
in the "io" class. This bug fix may cause some programs to start
correctly issuing warnings.
* Perl 5.8.4 introduced a change so that assignments of "undef" to a
scalar, or of an empty list to an array or a hash, were optimised away.
As this could cause problems when "goto" jumps were involved, this
change has been backed out.
* Using the sprintf function with some formats could lead to a
buffer overflow in some specific cases. This has been fixed,
along with several other bugs, notably in bounds checking.
* Fixed bug in pkgsrc-installed perl-5.8.7 and all subsequent
PKGREVISIONs, where perl didn't look for site modules under
/usr/pkg/lib/perl5/site_perl, but only under
/usr/pkg/lib/perl5/site_perl/5.8.0, and similarly for the vendor
modules.
* Honor PKGMANDIR when installing man pages.
Diffstat (limited to 'lang/perl5/files')
-rw-r--r-- | lang/perl5/files/perllink.1 | 4 | ||||
-rw-r--r-- | lang/perl5/files/perllink.in | 16 |
2 files changed, 13 insertions, 7 deletions
diff --git a/lang/perl5/files/perllink.1 b/lang/perl5/files/perllink.1 index 71154ac12c0..8da29c7d805 100644 --- a/lang/perl5/files/perllink.1 +++ b/lang/perl5/files/perllink.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: perllink.1,v 1.1 2005/08/06 06:18:45 jlam Exp $ +.\" $NetBSD: perllink.1,v 1.2 2006/04/09 06:34:32 jlam Exp $ .\" .\" Copyright (c) 2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -123,4 +123,4 @@ are being executed. .Xr symlink 2 .Sh AUTHORS .An Johnny C. Lam -.Aq jlam@NetBSD.org +.Aq jlam@pkgsrc.org diff --git a/lang/perl5/files/perllink.in b/lang/perl5/files/perllink.in index 44dfacca2d5..820d9ab2bd1 100644 --- a/lang/perl5/files/perllink.in +++ b/lang/perl5/files/perllink.in @@ -1,5 +1,5 @@ #!@SH@ -# $NetBSD: perllink.in,v 1.1 2005/08/06 06:18:45 jlam Exp $ +# $NetBSD: perllink.in,v 1.2 2006/04/09 06:34:32 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -38,8 +38,12 @@ # # This script parses the packlists listed on the command line and either -# adds or deletes the symlinks in <prefix>/bin and <prefix>/man/man1 that -# match the files in the packlists. +# adds or deletes the symlinks in +# +# <prefix>/bin +# <prefix>/@PKGMANDIR@/man1 +# +# that match the files in the packlists. # perlprog="@PERL5@" @@ -89,6 +93,8 @@ fi test -n "$opt_prefix" || opt_prefix="$prefix" +pkgmandir="@PKGMANDIR@" + # Re-point variables so that if they are under $prefix, then they are # recomputed to point under $opt_prefix. # @@ -98,7 +104,7 @@ $prefix/*) scriptdir="$opt_prefix/${scriptdir#$prefix/}" ;; esac case "$man1dir" in $prefix/*) man1dir="$opt_prefix/${man1dir#$prefix/}" ;; -"") man1dir="$opt_prefix/man/man1" ;; +"") man1dir="$opt_prefix/$pkgmandir/man1" ;; esac case "$siteprefix" in $prefix/*) siteprefix="$opt_prefix/${siteprefix#$prefix/}" ;; @@ -126,7 +132,7 @@ $prefix/*) vendorman1dir="$opt_prefix/${vendorman1dir#$prefix/}" ;; esac destbindir="$opt_prefix/bin" -destman1dir="$opt_prefix/man/man1" +destman1dir="$opt_prefix/$pkgmandir/man1" echo __dummy__ | perl -pe '0' $opt_packlists | { while read file junk; do |