On 16/03/17 02:32, Holger Hoffstätte wrote:
On Wed, 15 Mar 2017 22:33:10 +0800, Andrew Lowe wrote:

Hi all,
        I'm still trying to come to grips with understanding ebuilds so please
bear with me if this is a simple question. I've just sync'd and then
done an

        emerge --ask -NuD world

I have LLVM/clang installed and upon browsing the updates saw
app-vim/llvm-vim. This is some sort of syntax highlighting thingy for
Vim. I don't have Vim installed so went into the llvm-4.0.0 ebuild and
saw the line

PDEPEND="app-vim/llvm-vim

My understanding is that PDEPEND means that something, in this case
llvm-vim, will be installed after the update of llvm - correct? If so, I
can't see any way of "turning this off" as I don't want even more junk
installed on my machine.

        Have I understood the ebuild correctly and it could do with a "fiddle"
so that it doesn't force this install?

Yes, it could - I wondered the same thing. File an enhancement request
in bugzilla so that vim support can be optional via the already existing
"vim" USE flag.

In the meantime try:
$echo "app-vim/llvm-vim-9999" >> /etc/portage/profile/package.provided

This tells portage that the package is installed as version 9999, so
any future llvm/clang updates won't try to update it.

-h



Neil & Holger,
        Thanks for the thoughts, I will file the request.

                Andrew

Reply via email to