View previous topic :: View next topic |
Author |
Message |
josephg l33t
Joined: 10 Jan 2016 Posts: 783 Location: usually offline
|
Posted: Sat Feb 17, 2018 1:29 am Post subject: use wildcards? |
|
|
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 |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Sat Feb 17, 2018 9:35 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9530 Location: beyond the rim
|
Posted: Mon Feb 19, 2018 3:44 pm Post subject: |
|
|
Wildcards aren't available for USE flags. |
|
Back to top |
|
|
|