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 172728 [details] Build log
Created attachment 207230 [details, diff] adding patch to ebuild and running autotools
Created attachment 207233 [details, diff] fixing as-needed issues
You should actually be able to just drop the whole setting in [] since setting LIBS is the default behaviour of AC_CHECK_LIB...
Created attachment 207272 [details, diff] fixing as-needed issues Removing obsolete TRUE values for AC_CHECK_LIB as they mimic default behaviour, as Diego suggested. Thanks!
+ 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> bobotpp-2.2.2.ebuild, + +files/bobotpp-2.2.2-asneeded.patch: + Fix building with -Wl,--as-needed wrt #248013 by Kacper Kowalik.