src_compile() {
local myconf
use static && myconf="${myconf} --disable-dynamic" \
if use static ; then
&& LDFLAGS="${LDFLAGS} -static"
myconf="${myconf} --disable-dynamic"
LDFLAGS="${LDFLAGS} -static"
else
# bug 188930
use elibc_FreeBSD && export EXTRA_LDFLAGS="-rdynamic"
fi
econf \
--bindir=/bin \