Gentoo Archives: gentoo-user

From: Andrew Lowe <agl@×××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Latest LLVM wants to pollute my machine with VIM stuff.....
Date: Wed, 15 Mar 2017 19:13:39
Message-Id: 070d3b55-09e1-7d02-8a67-5fd8b09fb26d@wht.com.au
In Reply to: [gentoo-user] Re: Latest LLVM wants to pollute my machine with VIM stuff..... by "Holger Hoffstätte"
1 On 16/03/17 02:32, Holger Hoffstätte wrote:
2 > On Wed, 15 Mar 2017 22:33:10 +0800, Andrew Lowe wrote:
3 >
4 >> Hi all,
5 >> I'm still trying to come to grips with understanding ebuilds so please
6 >> bear with me if this is a simple question. I've just sync'd and then
7 >> done an
8 >>
9 >> emerge --ask -NuD world
10 >>
11 >> I have LLVM/clang installed and upon browsing the updates saw
12 >> app-vim/llvm-vim. This is some sort of syntax highlighting thingy for
13 >> Vim. I don't have Vim installed so went into the llvm-4.0.0 ebuild and
14 >> saw the line
15 >>
16 >> PDEPEND="app-vim/llvm-vim
17 >>
18 >> My understanding is that PDEPEND means that something, in this case
19 >> llvm-vim, will be installed after the update of llvm - correct? If so, I
20 >> can't see any way of "turning this off" as I don't want even more junk
21 >> installed on my machine.
22 >>
23 >> Have I understood the ebuild correctly and it could do with a "fiddle"
24 >> so that it doesn't force this install?
25 >
26 > Yes, it could - I wondered the same thing. File an enhancement request
27 > in bugzilla so that vim support can be optional via the already existing
28 > "vim" USE flag.
29 >
30 > In the meantime try:
31 > $echo "app-vim/llvm-vim-9999" >> /etc/portage/profile/package.provided
32 >
33 > This tells portage that the package is installed as version 9999, so
34 > any future llvm/clang updates won't try to update it.
35 >
36 > -h
37 >
38 >
39 >
40 Neil & Holger,
41 Thanks for the thoughts, I will file the request.
42
43 Andrew