Changeset 3143 for trunk/essentials/sys-devel/automake-1.9/aclocal.in
- Timestamp:
- Apr 16, 2007, 3:31:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-devel/automake-1.9/aclocal.in
r3086 r3143 30 30 BEGIN 31 31 { 32 my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@'; 32 my $perllibdir = $ENV{'perllibdir'} || $ENV{'UNIXROOT'}.'@datadir@/@PACKAGE@-@APIVERSION@'; 33 $perllibdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot. 34 $perllibdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot. 33 35 unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir); 34 36 } … … 46 48 # Note that this isn't pkgdatadir, but a separate directory. 47 49 # Note also that the versioned directory is handled later. 48 $acdir = '@datadir@/aclocal'; 50 $acdir = $ENV{'UNIXROOT'}.'@datadir@/aclocal'; 51 $acdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot. 52 $acdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot. 49 53 $default_acdir = $acdir; 50 54 # contains a list of directories, one per line, to be added … … 425 429 { 426 430 chomp; 427 my ($file, $macro, $arg1) = split (/:/); 431 # Stupid, stupid unix guys. 432 #my ($file, $macro, $arg1) = split (/:/); 433 my ($file, $macro, $arg1, $dos) = split (/:/); 434 if (length($file) == 1 && $dos ne '') 435 { 436 $file = $file.":".$macro; 437 $macro = $arg1; 438 $arg1 = $dos; 439 } 428 440 429 441 $traced{$macro} = 1 if $macro_seen{$macro};
Note:
See TracChangeset
for help on using the changeset viewer.