Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132381

Summary: media-libs/libmpeg3 library lacking soname
Product: Gentoo Linux Reporter: Dick Marinus <dick>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 98715    
Attachments: media-libs/libmpeg3-1.5.2-r3.ebuild
media-libs/libmpeg3-1.5.2-r3.ebuild

Description Dick Marinus 2006-05-05 13:54:27 UTC
media-libs/libmpeg3 library lacking soname
Comment 1 Dick Marinus 2006-05-05 13:55:55 UTC
Created attachment 86221 [details]
media-libs/libmpeg3-1.5.2-r3.ebuild

--- /usr/portage/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild   2006-04-25 03:09:56.000000000 +0200
+++ media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild        2006-05-05 22:09:28.000000000 +0200
@@ -47,6 +47,7 @@
                        -e 's|USE_MMX = 1|USE_MMX = 0|' \
                        Makefile
        fi
+       sed -i -e 's|^  gcc|    ld -soname=libmpeg3.so|' Makefile
 }

 src_compile() {
Comment 2 Dick Marinus 2006-05-06 06:10:57 UTC
Created attachment 86261 [details]
media-libs/libmpeg3-1.5.2-r3.ebuild

--- libmpeg3-1.5.2-r3.ebuild    2006-05-06 15:00:56.000000000 +0200
+++ /usr/portage/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild   2006-04-25 03:09:56.000000000 +0200
@@ -47,7 +47,6 @@
                        -e 's|USE_MMX = 1|USE_MMX = 0|' \
                        Makefile
        fi
-       sed -i -e 's|^  gcc|    gcc -Wl,-soname=libmpeg3.so|' Makefile
 }

 src_compile() {
Comment 3 Alexis Ballier gentoo-dev 2006-10-15 08:52:02 UTC
Fixed in CVS for libmpeg3-1.5.2-r3, thanks for reporting and fixing it. I didn't use the sed method because I did not want other gcc occurences to be matched, I added a patch.

Alexis.