Subject: CVS commit: pkgsrc/lang/perl5
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 01/28/2002 02:25:28
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Jan 28 00:25:28 UTC 2002

Modified Files:
	pkgsrc/lang/perl5: Makefile distinfo
Added Files:
	pkgsrc/lang/perl5/patches: patch-ah

Log Message:
Update lang/perl5 to 5.6.1nb7.  Changes from version 5.6.1nb6 include
changing the default module/library search path to have site_perl come
before the standard directories.  In other words, the previous search path
on an i386 was:

    /usr/pkg/lib/perl5/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/5.6.1
    /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/site_perl/5.6.1
    /usr/pkg/lib/perl5/site_perl

but it is now:

    /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/site_perl/5.6.1
    /usr/pkg/lib/perl5/site_perl
    /usr/pkg/lib/perl5/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/5.6.1

The rationale for this is that when we install a module that is newer than
one in the standard library, the new module goes into the site_perl
directory as it's an add-on module.  However, we can't use the newer module
without modifying either the scripts of the perl environment to find the
newer module explicitly because of the order of the library search path:
the site_perl directories come after the standard directories.  The normal
solution is to directly replace the module in the standard library with
the newer module.  However, this isn't really on option when installing
via pkgsrc because the older module files are owned by the perl package.

By placing the the site_perl directories before the standard directories,
newer modules that we install via pkgsrc are simply found before the older
ones in the standard library.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 pkgsrc/lang/perl5/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/lang/perl5/distinfo
cvs rdiff -r0 -r1.5 pkgsrc/lang/perl5/patches/patch-ah

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.