View previous topic :: View next topic |
Author |
Message |
square_ Tux's lil' helper
Joined: 20 Dec 2007 Posts: 114
|
Posted: Tue Apr 01, 2008 1:49 am Post subject: how to disable all global useflags in pkgcore? |
|
|
is there an equivalent to in pkgcore?
it looks like its just overridden. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Apr 01, 2008 7:10 am Post subject: |
|
|
using USE="..." emerge ... is discuraged (but portage accepts) since it causes issues w.r.t. re-emerge or if --newuse is used
pkgcore enforces this and thus if you want/need to override the make.conf global USE flags you have to drop it into /etc/portage/package.use
echo "foo/bar beer -wine" >> /etc/portage/package.use _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
square_ Tux's lil' helper
Joined: 20 Dec 2007 Posts: 114
|
Posted: Tue Apr 01, 2008 4:41 pm Post subject: |
|
|
yes.
why does everybody think im talking about the command line at first, haha?
what i do is i disable all use flags in the profile with in /etc.make.conf, then i enable per package use flags in /etc/portage/package.use.
but ... when i use pkgcore, the use flags from the profile are still enabled, additionally to the per package flags. is there a way to get rid of them? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Apr 01, 2008 5:26 pm Post subject: |
|
|
alll gotcha,
There is a ticket open w.r.t. this
Quote: |
Evidently pkgcore evaluates USE="-*" before evaluating the profile (or it ignores it entirely). Portage evaluates USE="-*" before the profile, so no USE are left. |
I know it is in the bzr build but I am not to sure if such a capability was added to the ebuild that is in portage (0.4.3). Will ask _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
square_ Tux's lil' helper
Joined: 20 Dec 2007 Posts: 114
|
Posted: Tue Apr 01, 2008 7:02 pm Post subject: |
|
|
ok, good to hear its worked on, thanks. |
|
Back to top |
|
|
square_ Tux's lil' helper
Joined: 20 Dec 2007 Posts: 114
|
Posted: Thu Apr 03, 2008 7:54 am Post subject: |
|
|
it seems to be fixed in pkgcore-0.4.3 |
|
Back to top |
|
|
|