See attached build log. (Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 246847 [details] Build log
Created attachment 343652 [details] asapm-3.1-r1.ebuild Updated ebuild (please review) * fixes ldflags issue * ebuild eapi bump
Created attachment 351034 [details] asapm-3.1-r1.ebuild Updated ebuild, also fixes: * invalid homepage, bug 367185 * cc direct calling (was already fixed), bug 444944
Created attachment 351036 [details, diff] asapm-3.1-ldflags.patch ldflags patch
Thanks, fixed in CVS. + 23 Mar 2014; Michael Palimaka <kensington@gentoo.org> +asapm-3.1-r1.ebuild, + +files/asapm-3.1-ldflags.patch: + Revision bump migrating to EAPI 5. Add missing dependency. Remove transitive + dependency. Remove jpeg USE flag that did nothing. Update HOMEPAGE wrt bug + #367185. Respect LDFLAGS wrt bug #336818. Fully respect CC wrt bug #444944.