From 5b6759c261091a763379979a40fc9cedae86bf92 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 10 Jun 2019 17:18:40 -0700 Subject: [PATCH] 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 Signed-off-by: Rick Farina --- 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 52bb73740689..b1b3a219ec3f 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 -- 2.26.2