]> git.pld-linux.org Git - packages/perl.git/blob - perl_581-soname.patch
- reverted
[packages/perl.git] / perl_581-soname.patch
1 --- perl-5.10.0/Makefile.SH.orig        2008-01-09 21:37:11.870736307 +0000
2 +++ perl-5.10.0/Makefile.SH     2008-01-09 22:47:51.579350787 +0000
3 @@ -124,7 +124,7 @@
4             # INSTALL file, under "Building a shared perl library".
5             # If there is no pre-existing $libperl, we don't need
6             # to do anything further.
7 -           if test -f $archlib/CORE/$libperl; then
8 +#          if test -f $archlib/CORE/$libperl; then
9                 rm -f preload
10                 cat <<'EOT' > preload
11  #! /bin/sh
12 @@ -135,7 +135,7 @@
13  EOT
14                 chmod 755 preload
15                 ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
16 -           fi
17 +#          fi
18             ;;
19         os390)  test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
20                 ;;
21 @@ -581,14 +581,16 @@
22  Makefile: $Makefile_s
23  !GROK!THIS!
24  else
25 -       $spitshell >>Makefile <<'!NO!SUBS!'
26 -$(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
27 +       $spitshell >>Makefile <<!NO!SUBS!
28 +LIBPERL_SONAME=\$(LIBPERL).$version
29 +\$(LIBPERL): \$& \$(obj) \$(DYNALOADER) \$(LIBPERLEXPORT)
30  !NO!SUBS!
31         case "$useshrplib" in
32         true)
33                 $spitshell >>Makefile <<'!NO!SUBS!'
34 -       rm -f $@
35 -       $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
36 +       rm -f $@ $(LIBPERL_SONAME)
37 +       $(LD) -o $(LIBPERL_SONAME) $(SHRPLDFLAGS) -Wl,-soname,$(LIBPERL_SONAME) $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
38 +       ln -s $(LIBPERL_SONAME) $@
39  !NO!SUBS!
40                 case "$osname" in
41                 aix)
This page took 0.043959 seconds and 4 git commands to generate.