The asterisk-g729 ebuild as is in the portage tree incorrectly installs the code_g729a.so file into /usr/lib instead of /usr/lib/asterisk/modules. This change was introduced by Agostino Sarubbo in bug 333277. The updated ebuild just reverts the dolib.so back to a doins, the other option is to symlink it, but seeing that the library really is asterisk specific I see no reason why we can't just leave it in /usr/lib/asterisk/modules/. I've also removed the big case statement near the top in preference of a simpler to read but requires 10 seconds more time to roll a new ebuild manner, and re-added the "local varname" statements to src_prepare. Reproducible: Always
Created attachment 297301 [details] asterisk-g729-1.8.4.3.1.5.ebuild
Created attachment 297367 [details] asterisk-g729-1.8.4.3.1.5.ebuild use get_libdir for determining the insinto location.
+*asterisk-g729-1.8.4.3.1.5-r1 (03 Jan 2012) + + 03 Jan 2012; Tony Vroon <chainsaw@gentoo.org> + -asterisk-g729-1.8.4.3.1.5.ebuild, +asterisk-g729-1.8.4.3.1.5-r1.ebuild: + Install shared library to correct location (multilib-aware) and simplify + versioning now that 1.6.2 is no longer in the tree. Patch by Jaco Kroon + closes bug #396413.