I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 172199 [details] Build log
Actually, xgalaga honors the users LDFLAGS but does not work with --as-needed. I suggest append-ldflags --no-as-needed. %% cvs diff xgalaga-2.0.34-r6.ebuild Index: xgalaga-2.0.34-r6.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild,v retrieving revision 1.5 diff -u -r1.5 xgalaga-2.0.34-r6.ebuild --- xgalaga-2.0.34-r6.ebuild 4 Feb 2008 15:16:21 -0000 1.5 +++ xgalaga-2.0.34-r6.ebuild 18 Dec 2008 21:24:40 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r6.ebuild,v 1.5 2008/02/04 15:16:21 nyhm Exp $ -inherit eutils games +inherit eutils games flag-o-matic DEB_VER=30 DESCRIPTION="A Galaga clone with additional features" @@ -35,6 +35,7 @@ sed -i \ -e '/SOUNDDEFS/ s:@prefix@:@prefix@/bin:' Makefile.in \ || die "sed Makefile.in failed" + append-ldflags -Wl,--no-as-needed #247331 } src_compile() { Committed, hope you don't mind.
Looking at the log, most probably switching libs with libsprite/libsprite.a should be the correct fix, so an (almost) trivial sed line should do.
Fixed in portage. Thanks for report and solution