Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: doc



Module Name:    doc
Committed By:   jlam
Date:           Mon Jan 28 00:26:37 UTC 2002

Modified Files:
        doc: pkg-CHANGES

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.5872 -r1.5873 doc/pkg-CHANGES

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




Home | Main Index | Thread Index | Old Index