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

Bug 77154

Summary: media-libs/openal : Ebuild installs library files into /lib instead of /usr/lib
Product: Gentoo Linux Reporter: Alan Swanson <reiver>
Component: New packagesAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan Swanson 2005-01-08 10:39:52 UTC
The changes in the ebuild for the update to OpenAL CVS of 20040817 causes the library files to be installed in /lib instead of /usr/lib. Definitely not the proper place for them.

In the ebuild put back the "--prefix=/usr" for the configure;

  - econf ${myconf} --enable-paranoid-locks \
  + econf ${myconf} --prefix=/usr --enable-paranoid-locks \

And in openal-20040817-destdir.patch put in a missing prefix;

  - +DESTLIB=$(DESTDIR)@libdir@
  + +DESTLIB=$(DESTDIR)@prefix@/@libdir@
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-11 05:27:43 UTC
--prefix=/usr is set in econf.  libdir should be /usr/$(get_libdir) by default... and on amd64, it installs properly... I'll look into this.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-11 05:38:45 UTC
fixed in cvs by forcing --libdir on all archs.