Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: How to install a pkg without all dependencies?
Date: Thu, 18 Dec 2014 15:34:26
Message-Id: 8761d8ssj3.fsf@reader.local.lan
In Reply to: Re: [gentoo-user] How to install a pkg without all dependencies? by "Poison BL."
1 "Poison BL." <poisonbl@×××××.com> writes:
3 > With the understanding that changes between the version it's asking
4 > for and what you've built on your end (which probably should be done
5 > with a custom ebuild when it impacts as many things as emacs tends to)
6 > might well break whatever's trying to use it, you can use
7 > package.provided to convince portage that whatever dependency it's
8 > looking for is already in place.
10 Ahh there is the bit I was fumbling to remember.
12 package.provided
14 OK, so in this case would I tell portage I am providing the emacs
15 version its pulling in? ie app-editors/emacs-24.4-r1
17 man portage section on package.provided doesn't make it very clear
18 what should actually go in there.
20 The example for telling portage user will manage 2.6 kernel:
22 sys-kernel/development-sources-2.6.7
24 But what portage is asking for is app-editors/emacs-24.4-r1
25 So I'm guessing to tell portage to not worry about that version or any
26 newer one:
28 Something like:
30 >=app-editors/emacs-24
32 If that the proper syntax?