1
diff -rc perl5.004_02.orig/Configure perl5.004_02/Configure
2
*** perl5.004_02.orig/Configure Thu Aug 7 15:08:44 1997
3
--- perl5.004_02/Configure Sun Nov 12 22:06:24 2000
20
+ : Remove libraries needed only for extensions
21
+ : The appropriate ext/Foo/Makefile.PL will add them back in, if
23
+ set X `echo " $libs " |
24
+ sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
28
: Remove build directory name from cppstdin so it can be used from
29
: either the present location or the final installed location.
34
patchlevel='$patchlevel'
37
+ perllibs='$perllibs'
38
perladmin='$perladmin'
41
diff -rc perl5.004_02.orig/Makefile.SH perl5.004_02/Makefile.SH
42
*** perl5.004_02.orig/Makefile.SH Thu Aug 7 13:10:53 1997
43
--- perl5.004_02/Makefile.SH Sun Nov 12 22:06:24 2000
46
ext = \$(dynamic_ext) \$(static_ext)
47
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
49
! libs = $libs $cryptlib
51
public = perl $suidperl utilities translators
54
ext = \$(dynamic_ext) \$(static_ext)
55
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
57
! libs = $perllibs $cryptlib
59
public = perl $suidperl utilities translators
61
diff -rc perl5.004_02.orig/lib/ExtUtils/Embed.pm perl5.004_02/lib/ExtUtils/Embed.pm
62
*** perl5.004_02.orig/lib/ExtUtils/Embed.pm Fri Aug 1 15:08:44 1997
63
--- perl5.004_02/lib/ExtUtils/Embed.pm Sun Nov 12 22:06:24 2000
66
@path = $path ? split(/:/, $path) : @INC;
68
push(@potential_libs, @link_args) if scalar @link_args;
69
! push(@potential_libs, $Config{libs}) if defined $std;
71
push(@mods, static_ext()) if $std;
74
@path = $path ? split(/:/, $path) : @INC;
76
push(@potential_libs, @link_args) if scalar @link_args;
77
! push(@potential_libs, $Config{perllibs}) if defined $std;
79
push(@mods, static_ext()) if $std;
81
diff -rc perl5.004_02.orig/lib/ExtUtils/Liblist.pm perl5.004_02/lib/ExtUtils/Liblist.pm
82
*** perl5.004_02.orig/lib/ExtUtils/Liblist.pm Fri Aug 1 19:36:58 1997
83
--- perl5.004_02/lib/ExtUtils/Liblist.pm Sun Nov 12 22:06:24 2000
88
my($self,$potential_libs, $verbose) = @_;
89
! if ($^O =~ 'os2' and $Config{libs}) {
90
# Dynamic libraries are not transitive, so we may need including
91
# the libraries linked against perl.dll again.
93
$potential_libs .= " " if $potential_libs;
94
! $potential_libs .= $Config{libs};
96
return ("", "", "", "") unless $potential_libs;
97
print STDOUT "Potential libraries are '$potential_libs':\n" if $verbose;
99
my($so) = $Config{'so'};
100
! my($libs) = $Config{'libs'};
101
my $Config_libext = $Config{lib_ext} || ".a";
107
my($self,$potential_libs, $verbose) = @_;
108
! if ($^O =~ 'os2' and $Config{perllibs}) {
109
# Dynamic libraries are not transitive, so we may need including
110
# the libraries linked against perl.dll again.
112
$potential_libs .= " " if $potential_libs;
113
! $potential_libs .= $Config{perllibs};
115
return ("", "", "", "") unless $potential_libs;
116
print STDOUT "Potential libraries are '$potential_libs':\n" if $verbose;
118
my($so) = $Config{'so'};
119
! my($libs) = $Config{'perllibs'};
120
my $Config_libext = $Config{lib_ext} || ".a";
125
my($self, $potential_libs, $verbose) = @_;
127
# If user did not supply a list, we punt.
128
! # (caller should probably use the list in $Config{libs})
129
return ("", "", "", "") unless $potential_libs;
131
my($so) = $Config{'so'};
132
! my($libs) = $Config{'libs'};
133
my($libpth) = $Config{'libpth'};
134
my($libext) = $Config{'lib_ext'} || ".lib";
137
my($self, $potential_libs, $verbose) = @_;
139
# If user did not supply a list, we punt.
140
! # (caller should probably use the list in $Config{perllibs})
141
return ("", "", "", "") unless $potential_libs;
143
my($so) = $Config{'so'};
144
! my($libs) = $Config{'perllibs'};
145
my($libpth) = $Config{'libpth'};
146
my($libext) = $Config{'lib_ext'} || ".lib";
152
If C<$potential_libs> is empty, the return value will be empty.
153
! Otherwise, the libraries specified by C<$Config{libs}> (see Config.pm)
154
will be appended to the list of C<$potential_libs>. The libraries
155
will be searched for in the directories specified in C<$potential_libs>
156
as well as in C<$Config{libpth}>. For each library that is found, a
160
If C<$potential_libs> is empty, the return value will be empty.
161
! Otherwise, the libraries specified by C<$Config{perllibs}> (see Config.pm)
162
will be appended to the list of C<$potential_libs>. The libraries
163
will be searched for in the directories specified in C<$potential_libs>
164
as well as in C<$Config{libpth}>. For each library that is found, a
165
diff -rc perl5.004_02.orig/lib/ExtUtils/MM_Unix.pm perl5.004_02/lib/ExtUtils/MM_Unix.pm
166
*** perl5.004_02.orig/lib/ExtUtils/MM_Unix.pm Tue Aug 5 14:28:08 1997
167
--- perl5.004_02/lib/ExtUtils/MM_Unix.pm Sun Nov 12 22:06:25 2000
171
join(" \\\n\t", reverse sort keys %static), "
173
! MAP_PRELIBS = $Config::Config{libs} $Config::Config{cryptlib}
176
if (defined $libperl) {
179
join(" \\\n\t", reverse sort keys %static), "
181
! MAP_PRELIBS = $Config::Config{perllibs} $Config::Config{cryptlib}
184
if (defined $libperl) {
185
diff -rc perl5.004_02.orig/myconfig perl5.004_02/myconfig
186
*** perl5.004_02.orig/myconfig Sat Dec 21 01:13:20 1996
187
--- perl5.004_02/myconfig Sun Nov 12 22:06:25 2000
190
Linker and Libraries:
191
ld='$ld', ldflags ='$ldflags'
195
useshrplib=$useshrplib, libperl=$libperl
198
Linker and Libraries:
199
ld='$ld', ldflags ='$ldflags'
203
useshrplib=$useshrplib, libperl=$libperl
205
diff -rc perl5.004_02.orig/patchlevel.h perl5.004_02/patchlevel.h
206
*** perl5.004_02.orig/patchlevel.h Fri Aug 1 15:07:34 1997
207
--- perl5.004_02/patchlevel.h Sun Nov 12 22:06:25 2000
212
static char *local_patches[] = {
214
+ ,"NODB-1.0 - remove -ldb from core perl binary."