1
diff -cr perl-5.6.0.orig/Configure perl-5.6.0/Configure
2
*** perl-5.6.0.orig/Configure Wed Mar 22 20:36:37 2000
3
--- perl-5.6.0/Configure Sun Sep 17 23:40:15 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.
37
+ perllibs='$perllibs'
38
perladmin='$perladmin'
41
diff -cr perl-5.6.0.orig/Makefile.SH perl-5.6.0/Makefile.SH
42
*** perl-5.6.0.orig/Makefile.SH Sat Mar 11 16:05:24 2000
43
--- perl-5.6.0/Makefile.SH Sun Sep 17 23:40:15 2000
46
*) shrpldflags="$shrpldflags -b noentry"
49
! shrpldflags="$shrpldflags $ldflags $libs $cryptlib"
50
linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
54
*) shrpldflags="$shrpldflags -b noentry"
57
! shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
58
linklibperl="-L $archlibexp/CORE -L `pwd | sed 's/\/UU$//'` -lperl"
63
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
64
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
66
! libs = $libs $cryptlib
68
public = perl $suidperl utilities translators
71
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
72
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
74
! libs = $perllibs $cryptlib
76
public = perl $suidperl utilities translators
82
$spitshell >>Makefile <<!GROK!THIS!
84
# In AIX we need to change this for building Perl itself from
85
# its earlier definition (which is for building external
86
# extensions *after* Perl has been built and installed)
90
$spitshell >>Makefile <<!GROK!THIS!
92
# In AIX we need to change this for building Perl itself from
93
# its earlier definition (which is for building external
94
# extensions *after* Perl has been built and installed)
95
diff -cr perl-5.6.0.orig/lib/ExtUtils/Embed.pm perl-5.6.0/lib/ExtUtils/Embed.pm
96
*** perl-5.6.0.orig/lib/ExtUtils/Embed.pm Sun Jan 23 12:08:32 2000
97
--- perl-5.6.0/lib/ExtUtils/Embed.pm Sun Sep 17 23:40:15 2000
100
@path = $path ? split(/:/, $path) : @INC;
102
push(@potential_libs, @link_args) if scalar @link_args;
103
! push(@potential_libs, $Config{libs}) if defined $std;
105
push(@mods, static_ext()) if $std;
108
@path = $path ? split(/:/, $path) : @INC;
110
push(@potential_libs, @link_args) if scalar @link_args;
111
! push(@potential_libs, $Config{perllibs}) if defined $std;
113
push(@mods, static_ext()) if $std;
115
diff -cr perl-5.6.0.orig/lib/ExtUtils/Liblist.pm perl-5.6.0/lib/ExtUtils/Liblist.pm
116
*** perl-5.6.0.orig/lib/ExtUtils/Liblist.pm Wed Mar 22 16:16:31 2000
117
--- perl-5.6.0/lib/ExtUtils/Liblist.pm Sun Sep 17 23:40:15 2000
122
my($self,$potential_libs, $verbose) = @_;
123
! if ($^O =~ 'os2' and $Config{libs}) {
124
# Dynamic libraries are not transitive, so we may need including
125
# the libraries linked against perl.dll again.
127
$potential_libs .= " " if $potential_libs;
128
! $potential_libs .= $Config{libs};
130
return ("", "", "", "") unless $potential_libs;
131
warn "Potential libraries are '$potential_libs':\n" if $verbose;
133
my($so) = $Config{'so'};
134
! my($libs) = $Config{'libs'};
135
my $Config_libext = $Config{lib_ext} || ".a";
141
my($self,$potential_libs, $verbose) = @_;
142
! if ($^O =~ 'os2' and $Config{perllibs}) {
143
# Dynamic libraries are not transitive, so we may need including
144
# the libraries linked against perl.dll again.
146
$potential_libs .= " " if $potential_libs;
147
! $potential_libs .= $Config{perllibs};
149
return ("", "", "", "") unless $potential_libs;
150
warn "Potential libraries are '$potential_libs':\n" if $verbose;
152
my($so) = $Config{'so'};
153
! my($libs) = $Config{'perllibs'};
154
my $Config_libext = $Config{lib_ext} || ".a";
159
my $BC = 1 if $cc =~ /^bcc/i;
160
my $GC = 1 if $cc =~ /^gcc/i;
161
my $so = $Config{'so'};
162
! my $libs = $Config{'libs'};
163
my $libpth = $Config{'libpth'};
164
my $libext = $Config{'lib_ext'} || ".lib";
167
my $BC = 1 if $cc =~ /^bcc/i;
168
my $GC = 1 if $cc =~ /^gcc/i;
169
my $so = $Config{'so'};
170
! my $libs = $Config{'perllibs'};
171
my $libpth = $Config{'libpth'};
172
my $libext = $Config{'lib_ext'} || ".lib";
176
$self->{CCFLAS} || $Config{'ccflags'};
177
@crtls = ( ($dbgqual =~ m-/Debug-i ? $Config{'dbgprefix'} : '')
179
! push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libs'});
180
push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libc'});
181
# In general, we pass through the basic libraries from %Config unchanged.
182
# The one exception is that if we're building in the Perl source tree, and
184
$self->{CCFLAS} || $Config{'ccflags'};
185
@crtls = ( ($dbgqual =~ m-/Debug-i ? $Config{'dbgprefix'} : '')
187
! push(@crtls, grep { not /\(/ } split /\s+/, $Config{'perllibs'});
188
push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libc'});
189
# In general, we pass through the basic libraries from %Config unchanged.
190
# The one exception is that if we're building in the Perl source tree, and
195
If C<$potential_libs> is empty, the return value will be empty.
196
! Otherwise, the libraries specified by C<$Config{libs}> (see Config.pm)
197
will be appended to the list of C<$potential_libs>. The libraries
198
will be searched for in the directories specified in C<$potential_libs>,
199
C<$Config{libpth}>, and in C<$Config{installarchlib}/CORE>.
203
If C<$potential_libs> is empty, the return value will be empty.
204
! Otherwise, the libraries specified by C<$Config{perllibs}> (see Config.pm)
205
will be appended to the list of C<$potential_libs>. The libraries
206
will be searched for in the directories specified in C<$potential_libs>,
207
C<$Config{libpth}>, and in C<$Config{installarchlib}/CORE>.
210
alphanumeric characters are treated as flags. Unknown flags will be ignored.
212
An entry that matches C</:nodefault/i> disables the appending of default
213
! libraries found in C<$Config{libs}> (this should be only needed very rarely).
215
An entry that matches C</:nosearch/i> disables all searching for
216
the libraries specified after it. Translation of C<-Lfoo> and
218
alphanumeric characters are treated as flags. Unknown flags will be ignored.
220
An entry that matches C</:nodefault/i> disables the appending of default
221
! libraries found in C<$Config{perllibs}> (this should be only needed very rarely).
223
An entry that matches C</:nosearch/i> disables all searching for
224
the libraries specified after it. Translation of C<-Lfoo> and
228
An entry that matches C</:search/i> reenables searching for
229
the libraries specified after it. You can put it at the end to
230
! enable searching for default libraries specified by C<$Config{libs}>.
236
An entry that matches C</:search/i> reenables searching for
237
the libraries specified after it. You can put it at the end to
238
! enable searching for default libraries specified by C<$Config{perllibs}>.
242
diff -cr perl-5.6.0.orig/lib/ExtUtils/MM_Unix.pm perl-5.6.0/lib/ExtUtils/MM_Unix.pm
243
*** perl-5.6.0.orig/lib/ExtUtils/MM_Unix.pm Thu Mar 2 17:52:52 2000
244
--- perl-5.6.0/lib/ExtUtils/MM_Unix.pm Sun Sep 17 23:40:15 2000
248
join(" \\\n\t", reverse sort keys %static), "
250
! MAP_PRELIBS = $Config::Config{libs} $Config::Config{cryptlib}
253
if (defined $libperl) {
256
join(" \\\n\t", reverse sort keys %static), "
258
! MAP_PRELIBS = $Config::Config{perllibs} $Config::Config{cryptlib}
261
if (defined $libperl) {
262
diff -cr perl-5.6.0.orig/myconfig.SH perl-5.6.0/myconfig.SH
263
*** perl-5.6.0.orig/myconfig.SH Sat Feb 26 06:34:49 2000
264
--- perl-5.6.0/myconfig.SH Sun Sep 17 23:41:17 2000
267
Linker and Libraries:
268
ld='$ld', ldflags ='$ldflags'
271
libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
273
dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
275
Linker and Libraries:
276
ld='$ld', ldflags ='$ldflags'
279
libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
281
dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
282
diff -cr perl-5.6.0.orig/patchlevel.h perl-5.6.0/patchlevel.h
283
*** perl-5.6.0.orig/patchlevel.h Wed Mar 22 20:23:11 2000
284
--- perl-5.6.0/patchlevel.h Sun Sep 17 23:40:15 2000
288
#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
289
static char *local_patches[] = {
291
+ ,"NODB-1.0 - remove -ldb from core perl binary."