View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3595
|
Posted: Wed Jan 19, 2022 12:30 pm Post subject: ebuild: patching depending on .config settings?[solved] |
|
|
How to apply patch if specific CONFIG_ is activated?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
Last edited by CaptainBlood on Wed Jan 19, 2022 2:50 pm; edited 3 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Wed Jan 19, 2022 12:50 pm Post subject: |
|
|
Maybe with linux_chkconfig_string <option> function from linux-info.eclass? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3595
|
Posted: Wed Jan 19, 2022 2:49 pm Post subject: |
|
|
fedeliallalinea,
Fine reply Code: | if linux_chkconfig_builtin SPECIFIC_SET; then
eapply "${FILESDIR}/${PN}-SPECIFIC.patch"
fil | made it as SPECIFIC_SET is boolean here.
Please note no CONFIG_ prefix at argument string.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here. |
|
Back to top |
|
|
|