Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to unmask a use flag?
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
Voyageur
Developer
Developer


Joined: 06 Mar 2005
Posts: 342
Location: Paris, France

PostPosted: Fri Sep 02, 2005 9:18 am    Post subject: [SOLVED] How to unmask a use flag? Reply with quote

I am currently toying with beagle (a mono based files indexing) on my amd64, and apart from unmasking quite a few packages, I also need to have the mono USE flag set (which is masked on amd64..)

Google only returned suggestions about tweaking directly /usr/portage/profiles/default-linux/amd64/use.mask, but this is of course removed after every "emerge sync". I tried creating a "/etc/portage/profile/use.unmask", but this did not help...

For now, I'm sed'ing the use.mask after sync, waiting for mono flag to be unmasked, but is there another solution?

Sorry if the answer lies somewhere in the forums, the search system filters use in "use.mask" and therefore returns many many results 8O
_________________
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages


Last edited by Voyageur on Fri Sep 02, 2005 12:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Fri Sep 02, 2005 12:04 pm    Post subject: Reply with quote

Using the /etc/portage/profile directory ought to have been the right idea, but i think it will only recognise file-names that already exist in the standard profile-heirachy - hence, no 'use.unmask'...

...Therefore, see if a double-negative works :-
Code:
echo "-mono" >> /etc/portage/profile/use.mask

...Note the 'negative' prefix to the 'mono' USE-flag, & the 'use.mask' file-name... :?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
Voyageur
Developer
Developer


Joined: 06 Mar 2005
Posts: 342
Location: Paris, France

PostPosted: Fri Sep 02, 2005 12:59 pm    Post subject: Reply with quote

Hum I wonder if this works with masking in package.unmask and unmasking in package.mask? :roll:

Anyway thanks a lot, "-mono" in use.mask works fine!
_________________
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Fri Sep 02, 2005 2:18 pm    Post subject: Reply with quote

Voyageur wrote:
Hum I wonder if this works with masking in package.unmask and unmasking in package.mask? :roll:

It's being used for just that purpose in /usr/profiles/default-linux/amd64/2005.1/package.mask already (based on my installed version of portage) :-
Code:
# These are provided by non-emul packages now
-=app-emulation/emul-linux-x86-glibc-1000


Quote:
Anyway thanks a lot, "-mono" in use.mask works fine!

You're welcome! It's good to know for future reference - i mean, the theory was sound, but i'd never actually tried it... :twisted:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
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