The package mate-base/mate-applets-1.26.1 unconditionally depends on >=net-wireless/wireless-tools-28_pre9:0 even if the use flag "netlink" is set. According to `configure.ac` the package either uses libnl OR iwlib/wireless-tools. So the dependency on net-wireless/wireless-tools should be depend on the "netlink" use flag. Reproducible: Always Steps to Reproduce: 1. USE='netlink' emerge -vp mate-applets Actual Results: 2. dependency "net-wireless/wireless-tools" gets pulled in 3. :-( Expected Results: The package can be built without "net-wireless/wireless-tools" when using the "netlink" use flag. https://github.com/mate-desktop/mate-applets/blob/d7165dfbde04c06b1c9c4040d1db7ac9db544118/configure.ac#L417 The line in the upstream source code stating there can only be libnl OR iwlib/wireless-tools.
Created attachment 883061 [details, diff] mate-applets-1.26.1-r1-wireless-tools-conditionally.patch Patch to conditionally depend on net-wireless/wireless-tools
I think this report and the patch make sense. Thanks for suggesting the fix.
Thank you! You are welcome.