Bug 192716 - media-sound/gsm-1.0.12 not installing libs and includes after successful compile
Bug#: 192716 Product:  Gentoo Linux Version: 2007.0 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: justin.t.riley@gmail.com
Component: Ebuilds
URL: 
Summary: media-sound/gsm-1.0.12 not installing libs and includes after successful compile
Keywords:  
Status Whiteboard: 
Opened: 2007-09-16 18:20 0000
Description:   Opened: 2007-09-16 18:20 0000
Just for the record, I was having issues getting /usr/include/gsm.h or
/usr/lib64/libgsm.a to show up after a successful build/install of gsm-1.0.12.

After playing around with the makefile by hand I realized the project doesn't
create the target install directories itself, hence the need for "dodir blah
blah" to make the target dirs show up in /var/tmp/portage/.../image.  

The catch here is that in src_install() we're using
GSM_INSTALL_LIB="${D}"/usr/$(get_libdir) however the dodir statically defines
the lib dir in the image folder to be /usr/lib.  In the case of amd64 this will
obviously fail. 

Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes
this issue for me

~jtriley

------- Comment #1 From Samuli Suominen 2007-09-16 18:33:40 0000 -------
(In reply to comment #0)
> Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes
> this issue for me

Changed. Sorry, I missed it because system I used when adding it was x86.