Comment # 5
on bug 10794
from Jeroen Roovers
(In reply to Jeroen Roovers from comment #4)
> > But I want to ask you for motivation, why do you want to disable SBC codec,
> > while it is optional (not required)? If you have SBC codec in system you
> > should compile support for it, otherwise you have lack of some functionality
> > in Wireshark.
>
> It's a Gentoo thing.
Let me elaborate on that. Gentoo checks dependencies quite strictly. When you
are ready to deploy executable A on a thousand systems, you don't want to
/then/ find out that library B happened to be installed on the staging machine
and that executable A was merrily linked against library B, so that A now
doesn't run on your production systems. So we control run-time dependencies
like library B by making them explicitly selectable in the logic for building
executable A. In ebuild terms:
IUSE=sbc
RDEPEND="
sbc? ( media-libs/sbc )
"
DEPEND="
${RDEPEND}
"
and in the ./configure logic:
econf \
$(use_with sbc)
which is why we patch configure so that it does not "automagically" pull in
dependencies.
So we're not trying to fix configure for cases where someone simply downloads
wireshark, links it against whatever is present and installs in /usr/local. We
manage those dependencies properly and configure needs to play along.
You are receiving this mail because:
- You are watching all bug changes.