Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
use wildcards?
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
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat Feb 17, 2018 1:29 am    Post subject: use wildcards? Reply with quote

can i use wildcards for useflags in portage/package.use etc? for eg, see my firefox useflags below

Code:
www-client/firefox bindist custom-cflags custom-optimization ffmpeg gtk2 hwaccel system-cairo system-icu system-jpeg system-libvpx system-sqlite system-harfbuzz system-libevent

i tried to replace the above line by the following one.. unsuccessfully
Code:
www-client/firefox bindist custom-* ffmpeg gtk2 hwaccel system-*

_________________
"Growth for the sake of growth is the ideology of the cancer cell." Edward Abbey


Last edited by josephg on Sat Feb 17, 2018 12:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sat Feb 17, 2018 9:35 am    Post subject: Reply with quote

This configuration has a major disadvantage: a user do not know which features are activated looking at package.use.

I believe wildcards are most often used for analysis or for matching known patterns. There are old utilities to handle package.use.
Moreover, a USE flag matches a particular feature. These being said, I do not believe that a software can take advantage of wildcards.

Look at ufed, flaggie, etc.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9530
Location: beyond the rim

PostPosted: Mon Feb 19, 2018 3:44 pm    Post subject: Reply with quote

Wildcards aren't available for USE flags.
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