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 248148 [details] Build log
Created attachment 248214 [details] files/bnc-2.9.4-CPPFLAGS-LDFLAGS.patch
commit dce2e1a26622ec605dcec77c478e12611b96f35d Author: Michael Orlitzky <mjo@gentoo.org> Date: Sun Aug 28 17:02:21 2016 -0400 net-irc/bnc: new EAPI=6 revision respecting LDFLAGS. Update the ebuild to EAPI=6, and update an existing patch. We already had a patch that made the build system support CFLAGS, so rather than add another patch, binki's patch from Bugzilla was incorporated into the existing one. The result respects CFLAGS, CPPFLAGS, and LDFLAGS. Gentoo-Bug: 338181 Package-Manager: portage-2.2.28