summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/perl/files/libperl-5.8.0-create-libperl-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-devel/perl/files/libperl-5.8.0-create-libperl-soname.patch b/sys-devel/perl/files/libperl-5.8.0-create-libperl-soname.patch
new file mode 100644
index 000000000000..f68fb8cc9ce8
--- /dev/null
+++ b/sys-devel/perl/files/libperl-5.8.0-create-libperl-soname.patch
@@ -0,0 +1,12 @@
+--- perl-5.8.0/Makefile.SH.orig 2002-12-28 07:46:27.000000000 +0200
++++ perl-5.8.0/Makefile.SH 2002-06-09 19:04:06.000000000 +0200
+@@ -480,7 +480,7 @@
+ case "$useshrplib" in
+ true)
+ $spitshell >>Makefile <<'!NO!SUBS!'
+- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj)
++ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) -Wl,-soname -Wl,libperl.so.`echo $(LIBPERL) | cut -d. -f3`
+ !NO!SUBS!
+ case "$osname" in
+ aix)
+