Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remove not-needed dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
StevenL
Guest





PostPosted: Tue Apr 30, 2002 12:58 pm    Post subject: remove not-needed dependencies Reply with quote

I know I can use the USE variable in /etc/make.conf to remove some dependencies when "emerge" a package.
However, within a package to be downloaded, there are some extra dependencies that I don't need. For instance, when "emerge kde", I don't want some packages such as kdetoys, kdenetwork, kdeedu ...
According to information from KDE wesites, you can install kde with qt, arts, kdelibs, kdebase as minimum. These packages are essentials (real dependencies). The others are optional. How I can remove those extra dependencies in the portage system.
Back to top
tod
Developer
Developer


Joined: 17 Apr 2002
Posts: 136
Location: Ozarks, USA

PostPosted: Tue Apr 30, 2002 1:56 pm    Post subject: Reply with quote

Hi!

IIRC, the KDE ebuild is for convenience. Meaning, that the ebuild doesn't actually do anything but cause a boatload of other ebuilds to be installed because of dependencies. Please see
/usr/portage/kde-base/kde/kde-{2.2.2,3.0}.ebuild

You have two options,

1. Don't use 'emerge kde' and emerge the actual kde ebuilds (only the ones you want).

2. Edit the kde ebuild and remove the stuff you don't want from the dependency line.

hth

tod
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum