This code isn't doing anything because you're misusing the use_enable command.
The bug must have been fixed by other changes on the livecd that were unrelated
to this change.
src_compile() {
# Static compile of lvm2 so that the install described in the handbook
works
# http://www.gentoo.org/doc/en/lvm2.xml
# fixes http://bugs.gentoo.org/show_bug.cgi?id=84463
local myconf=""
use nolvmstatic || myconf="$(use_enable static_link)"
The use_enable command here will *always* generate the line
--disable-static_link
because there is no USE-flag called static_link. The correct way to write this
would be one of:
if use nolvmstatic; then
myconf="${myconf} --disable-static_link"
else
myconf="${myconf} --enable-static_link"
fi
or for a more advanced use_enable command:
myconf="${myconf} $(use_enable !nolvmstatic static_link)"
HOWEVER if you do either of these, the build actually fails in my
experimentation. Personally I'd suggest yanking that stuff from the ebuild
altogether, and don't forget to remove nolvmstatic from IUSE and use.local.desc
(for clvm only)