1
diff -rc perl5.005_03.orig/Configure perl5.005_03/Configure
2
*** perl5.005_03.orig/Configure Sun Mar 28 17:12:57 1999
3
--- perl5.005_03/Configure Sun Sep 17 22:19:16 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.005_03.orig/Makefile.SH perl5.005_03/Makefile.SH
42
*** perl5.005_03.orig/Makefile.SH Thu Mar 4 02:35:25 1999
43
--- perl5.005_03/Makefile.SH Sun Sep 17 22:21:01 2000
46
shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
49
! shrpldflags="$shrpldflags -e _nostart $ldflags $libs $cryptlib"
52
! shrpldflags="$shrpldflags -b noentry $ldflags $libs $cryptlib"
55
aixinstdir=`pwd | sed 's/\/UU$//'`
57
shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
60
! shrpldflags="$shrpldflags -e _nostart $ldflags $perllibs $cryptlib"
63
! shrpldflags="$shrpldflags -b noentry $ldflags $perllibs $cryptlib"
66
aixinstdir=`pwd | sed 's/\/UU$//'`
69
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
70
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
72
! libs = $libs $cryptlib
74
public = perl $suidperl utilities translators
77
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
78
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
80
! libs = $perllibs $cryptlib
82
public = perl $suidperl utilities translators
84
diff -rc perl5.005_03.orig/lib/ExtUtils/Embed.pm perl5.005_03/lib/ExtUtils/Embed.pm
85
*** perl5.005_03.orig/lib/ExtUtils/Embed.pm Wed Jan 6 02:17:50 1999
86
--- perl5.005_03/lib/ExtUtils/Embed.pm Sun Sep 17 22:19:16 2000
89
@path = $path ? split(/:/, $path) : @INC;
91
push(@potential_libs, @link_args) if scalar @link_args;
92
! push(@potential_libs, $Config{libs}) if defined $std;
94
push(@mods, static_ext()) if $std;
97
@path = $path ? split(/:/, $path) : @INC;
99
push(@potential_libs, @link_args) if scalar @link_args;
100
! push(@potential_libs, $Config{perllibs}) if defined $std;
102
push(@mods, static_ext()) if $std;
104
diff -rc perl5.005_03.orig/lib/ExtUtils/Liblist.pm perl5.005_03/lib/ExtUtils/Liblist.pm
105
*** perl5.005_03.orig/lib/ExtUtils/Liblist.pm Wed Jan 6 02:17:47 1999
106
--- perl5.005_03/lib/ExtUtils/Liblist.pm Sun Sep 17 22:19:16 2000
111
my($self,$potential_libs, $verbose) = @_;
112
! if ($^O =~ 'os2' and $Config{libs}) {
113
# Dynamic libraries are not transitive, so we may need including
114
# the libraries linked against perl.dll again.
116
$potential_libs .= " " if $potential_libs;
117
! $potential_libs .= $Config{libs};
119
return ("", "", "", "") unless $potential_libs;
120
warn "Potential libraries are '$potential_libs':\n" if $verbose;
122
my($so) = $Config{'so'};
123
! my($libs) = $Config{'libs'};
124
my $Config_libext = $Config{lib_ext} || ".a";
130
my($self,$potential_libs, $verbose) = @_;
131
! if ($^O =~ 'os2' and $Config{perllibs}) {
132
# Dynamic libraries are not transitive, so we may need including
133
# the libraries linked against perl.dll again.
135
$potential_libs .= " " if $potential_libs;
136
! $potential_libs .= $Config{perllibs};
138
return ("", "", "", "") unless $potential_libs;
139
warn "Potential libraries are '$potential_libs':\n" if $verbose;
141
my($so) = $Config{'so'};
142
! my($libs) = $Config{'perllibs'};
143
my $Config_libext = $Config{lib_ext} || ".a";
148
my $BC = 1 if $cc =~ /^bcc/i;
149
my $GC = 1 if $cc =~ /^gcc/i;
150
my $so = $Config{'so'};
151
! my $libs = $Config{'libs'};
152
my $libpth = $Config{'libpth'};
153
my $libext = $Config{'lib_ext'} || ".lib";
156
my $BC = 1 if $cc =~ /^bcc/i;
157
my $GC = 1 if $cc =~ /^gcc/i;
158
my $so = $Config{'so'};
159
! my $libs = $Config{'perllibs'};
160
my $libpth = $Config{'libpth'};
161
my $libext = $Config{'lib_ext'} || ".lib";
165
$self->{CCFLAS} || $Config{'ccflags'};
166
@crtls = ( ($dbgqual =~ m-/Debug-i ? $Config{'dbgprefix'} : '')
168
! push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libs'});
169
push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libc'});
170
# In general, we pass through the basic libraries from %Config unchanged.
171
# The one exception is that if we're building in the Perl source tree, and
173
$self->{CCFLAS} || $Config{'ccflags'};
174
@crtls = ( ($dbgqual =~ m-/Debug-i ? $Config{'dbgprefix'} : '')
176
! push(@crtls, grep { not /\(/ } split /\s+/, $Config{'perllibs'});
177
push(@crtls, grep { not /\(/ } split /\s+/, $Config{'libc'});
178
# In general, we pass through the basic libraries from %Config unchanged.
179
# The one exception is that if we're building in the Perl source tree, and
184
If C<$potential_libs> is empty, the return value will be empty.
185
! Otherwise, the libraries specified by C<$Config{libs}> (see Config.pm)
186
will be appended to the list of C<$potential_libs>. The libraries
187
will be searched for in the directories specified in C<$potential_libs>,
188
C<$Config{libpth}>, and in C<$Config{installarchlib}/CORE>.
192
If C<$potential_libs> is empty, the return value will be empty.
193
! Otherwise, the libraries specified by C<$Config{perllibs}> (see Config.pm)
194
will be appended to the list of C<$potential_libs>. The libraries
195
will be searched for in the directories specified in C<$potential_libs>,
196
C<$Config{libpth}>, and in C<$Config{installarchlib}/CORE>.
199
alphanumeric characters are treated as flags. Unknown flags will be ignored.
201
An entry that matches C</:nodefault/i> disables the appending of default
202
! libraries found in C<$Config{libs}> (this should be only needed very rarely).
204
An entry that matches C</:nosearch/i> disables all searching for
205
the libraries specified after it. Translation of C<-Lfoo> and
207
alphanumeric characters are treated as flags. Unknown flags will be ignored.
209
An entry that matches C</:nodefault/i> disables the appending of default
210
! libraries found in C<$Config{perllibs}> (this should be only needed very rarely).
212
An entry that matches C</:nosearch/i> disables all searching for
213
the libraries specified after it. Translation of C<-Lfoo> and
217
An entry that matches C</:search/i> reenables searching for
218
the libraries specified after it. You can put it at the end to
219
! enable searching for default libraries specified by C<$Config{libs}>.
225
An entry that matches C</:search/i> reenables searching for
226
the libraries specified after it. You can put it at the end to
227
! enable searching for default libraries specified by C<$Config{perllibs}>.
231
diff -rc perl5.005_03.orig/lib/ExtUtils/MM_Unix.pm perl5.005_03/lib/ExtUtils/MM_Unix.pm
232
*** perl5.005_03.orig/lib/ExtUtils/MM_Unix.pm Fri Mar 5 00:34:20 1999
233
--- perl5.005_03/lib/ExtUtils/MM_Unix.pm Sun Sep 17 22:19:16 2000
237
join(" \\\n\t", reverse sort keys %static), "
239
! MAP_PRELIBS = $Config::Config{libs} $Config::Config{cryptlib}
242
if (defined $libperl) {
245
join(" \\\n\t", reverse sort keys %static), "
247
! MAP_PRELIBS = $Config::Config{perllibs} $Config::Config{cryptlib}
250
if (defined $libperl) {