Ignore:
Timestamp:
Apr 16, 2007, 4:19:20 AM (18 years ago)
Author:
bird
Message:

Unixroot and the drive letter fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-devel/automake-1.10/automake.in

    r3147 r3150  
    3333BEGIN
    3434{
    35   my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@';
     35  my $perllibdir = $ENV{'perllibdir'} || $ENV{'UNIXROOT'}.'@datadir@/@PACKAGE@-@APIVERSION@';
     36  $perllibdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
     37  $perllibdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
    3638  unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir);
    3739
Note: See TracChangeset for help on using the changeset viewer.