1 --- perl.c.orig Sun May 4 09:47:04 2003
2 +++ perl.c Wed May 7 06:31:58 2003
4 incpush(APPLLIB_EXP, TRUE, TRUE, TRUE);
8 - incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
10 -#ifdef MACOS_TRADITIONAL
13 - SV * privdir = NEWSV(55, 0);
14 - char * macperl = PerlEnv_getenv("MACPERL");
19 - Perl_sv_setpvf(aTHX_ privdir, "%slib:", macperl);
20 - if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
21 - incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
22 - Perl_sv_setpvf(aTHX_ privdir, "%ssite_perl:", macperl);
23 - if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
24 - incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
26 - SvREFCNT_dec(privdir);
29 - incpush(":", FALSE, FALSE, TRUE);
32 -# define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
35 - incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
37 - incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
41 /* sitearch is always relative to sitelib on Windows for
42 * DLL-based path intuition to work correctly */
46 #ifdef SITELIB_STEM /* Search for version-specific dirs below here */
47 - incpush(SITELIB_STEM, FALSE, TRUE, TRUE);
48 +/* incpush(SITELIB_STEM, FALSE, TRUE, TRUE); */
51 #ifdef PERL_VENDORARCH_EXP
52 @@ -3824,7 +3791,41 @@
55 #ifdef PERL_VENDORLIB_STEM /* Search for version-specific dirs below here */
56 - incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
57 +/* incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE); */
61 + incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
64 +#ifdef MACOS_TRADITIONAL
67 + SV * privdir = NEWSV(55, 0);
68 + char * macperl = PerlEnv_getenv("MACPERL");
73 + Perl_sv_setpvf(aTHX_ privdir, "%slib:", macperl);
74 + if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
75 + incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
76 + Perl_sv_setpvf(aTHX_ privdir, "%ssite_perl:", macperl);
77 + if (PerlLIO_stat(SvPVX(privdir), &tmpstatbuf) >= 0 && S_ISDIR(tmpstatbuf.st_mode))
78 + incpush(SvPVX(privdir), TRUE, FALSE, TRUE);
80 + SvREFCNT_dec(privdir);
83 + incpush(":", FALSE, FALSE, TRUE);
86 +# define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
89 + incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
91 + incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
94 #ifdef PERL_OTHERLIBDIRS