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 247033 [details] Build log
Created attachment 343458 [details, diff] patch against latest ebuild Just adding LDFLAGS="${LDFLAGS}" to emake fixes this issue.
+*astrolog-5.40-r2 (27 Mar 2013) + + 27 Mar 2013; Justin Lecher <jlec@gentoo.org> -astrolog-5.40.ebuild, + astrolog-5.40-r1.ebuild, +astrolog-5.40-r2.ebuild, metadata.xml: + Drop old; respect LDFLAGS , #336971; thanks Michael Mair-Keimberger (iamnr3) + for the patch +