1 |
On 2/26/06, gentuxx <gentuxx@×××××.com> wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA1 |
4 |
> |
5 |
> Why in the world to I need Apache, php(4), and a whole host of other |
6 |
> packages (22 to be exact) just to install NTP? |
7 |
|
8 |
Probably because your USE flags are telling portage that you want all |
9 |
of those dependancies. |
10 |
|
11 |
If you don't have USE=nodroproot (which would be a bad idea, BTW), ntp |
12 |
depends on sys-libs/libcap. |
13 |
|
14 |
sys-libs/libcap depends on dev-lang/swig if you have USE=python. |
15 |
|
16 |
dev-lang/swig depends dev-lang/php if you have USE=php. |
17 |
|
18 |
dev-lang/php depends on apache. |
19 |
|
20 |
...and so on. |
21 |
|
22 |
If you want to avoid such dependancies, you should set USE=-* in |
23 |
/etc/make.conf, and then set each USE flag specifically for each |
24 |
package that you want it on in /etc/portage/package.use. If you do |
25 |
this, be very careful in the conversion of your system, as you can |
26 |
break things easily (for example, if you have pam, and end up with |
27 |
-pam.) |
28 |
|
29 |
-Richard |
30 |
|
31 |
-- |
32 |
gentoo-user@g.o mailing list |