Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/
Date: Fri, 01 Nov 2019 16:23:59
Message-Id: 1572625375.a039614386b3d371c93b6bbc5537919fb3498568.bkohler@gentoo
1 commit: a039614386b3d371c93b6bbc5537919fb3498568
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 1 14:59:24 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 1 16:22:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0396143
7
8 net-wireless/iwd: improve kernel checks
9
10 Bug: https://bugs.gentoo.org/699042
11 Package-Manager: Portage-2.3.78_p4, Repoman-2.3.17_p100
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
14
15 net-wireless/iwd/iwd-9999.ebuild | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
19 index 23be63d6ea2..72992be15e1 100644
20 --- a/net-wireless/iwd/iwd-9999.ebuild
21 +++ b/net-wireless/iwd/iwd-9999.ebuild
22 @@ -86,8 +86,8 @@ pkg_pretend() {
23 check_extra_config
24
25 if ! use crda; then
26 - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \
27 - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]]
28 + if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
29 + [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
30 then
31 ewarn ""
32 ewarn "REGULATORY DOMAIN PROBLEM:"