Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10063 - emerge installs perl modules into /usr/lib instead of /usr/lib/perl5
Summary: emerge installs perl modules into /usr/lib instead of /usr/lib/perl5
Status: RESOLVED DUPLICATE of bug 9067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-01 15:13 UTC by Andrey Ulanov
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ulanov 2002-11-01 15:13:10 UTC
It happens because /var/tmp/portage/some-modules/image/usr/lib/perl5 don't exist  at configuring time. Here is the patch:

--- perl-5.6.1/lib/ExtUtils/MM_Unix.pm.oldThu Mar 15 18:25:20 2001
+++ perl-5.6.1/lib/ExtUtils/MM_Unix.pmFri Nov  1 23:46:23 2002
@@ -1861,12 +1861,7 @@
     $self->catdir($self->{LIB},$Config{'archname'});
     }
     else {
-if (-d $self->catdir($self->{PREFIX},"lib","perl5")) {
-    $replace_prefix = $self->catdir(qq[\$\(PREFIX\)],"lib", "perl5");
-}
-else {
-    $replace_prefix = $self->catdir(qq[\$\(PREFIX\)],"lib");
-}
+        $replace_prefix = $self->catdir(qq[\$\(PREFIX\)],"lib", "perl5");
 for $install_variable (qw/
        INSTALLPRIVLIB
        INSTALLARCHLIB
Comment 1 SpanKY gentoo-dev 2002-11-01 17:34:18 UTC
we already fixed this ... reemerge extutils-makemaker and (if need be) perl 

*** This bug has been marked as a duplicate of 9067 ***