commit:     5b6759c261091a763379979a40fc9cedae86bf92
Author:     Brian Norris <briannorris <AT> chromium <DOT> org>
AuthorDate: Tue Jun 11 00:18:40 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 01:18:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6759c2

net-wireless/wpa_supplicant: support USE="-smartcard -ap -wps"

These are enabled in the defconfig and need to be forced off here.

Bug: https://bugs.gentoo.org/687838
Signed-off-by: Brian Norris <briannorris <AT> chromium.org>
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/wpa_supplicant/wpa_supplicant-2.8-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.8-r1.ebuild 
b/net-wireless/wpa_supplicant/wpa_supplicant-2.8-r1.ebuild
index 52bb7374068..b1b3a219ec3 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-2.8-r1.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.8-r1.ebuild
@@ -237,6 +237,8 @@ src_configure() {
 
        if use smartcard ; then
                Kconfig_style_config SMARTCARD
+       else
+               Kconfig_style_config SMARTCARD n
        fi
 
        if use tdls ; then
@@ -281,6 +283,8 @@ src_configure() {
                Kconfig_style_config WPS_UPNP
                # Near Field Communication
                Kconfig_style_config WPS_NFC
+       else
+               Kconfig_style_config WPS n
        fi
 
        # Wi-Fi Direct (WiDi)
@@ -292,6 +296,8 @@ src_configure() {
        # Access Point Mode
        if use ap ; then
                Kconfig_style_config AP
+       else
+               Kconfig_style_config AP n
        fi
 
        # Enable essentials for AP/P2P

Reply via email to