net-wireless/wpa_supplicant: Fixed build with USE="-ssl" or USE="ssl gnutls".
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 6 Jan 2018 19:49:24 +0000 (20:49 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 6 Jan 2018 19:51:38 +0000 (20:51 +0100)
Committed without explicit permission due to maintainer timeout.

Closes: https://bugs.gentoo.org/640350
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-wireless/wpa_supplicant/wpa_supplicant-2.6-r4.ebuild

index 04965c898f1d9b26db338c623509e21bf1cfe813..02b2a20e35f8c31ccdcc23800d3b4e54d02bb106 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -174,7 +174,6 @@ src_configure() {
        Kconfig_style_config EAP_LEAP
        Kconfig_style_config EAP_MSCHAPV2
        Kconfig_style_config EAP_PEAP
-       Kconfig_style_config EAP_PWD
        Kconfig_style_config EAP_TLS
        Kconfig_style_config EAP_TTLS
 
@@ -182,9 +181,6 @@ src_configure() {
        Kconfig_style_config BGSCAN_SIMPLE
        Kconfig_style_config BGSCAN_LEARN
 
-       # Enabling mesh networks.
-       Kconfig_style_config MESH
-
        if use dbus ; then
                Kconfig_style_config CTRL_IFACE_DBUS
                Kconfig_style_config CTRL_IFACE_DBUS_NEW
@@ -239,6 +235,10 @@ src_configure() {
                        Kconfig_style_config GNUTLS_EXTRA
                else
                        Kconfig_style_config TLS openssl
+                       Kconfig_style_config EAP_PWD
+
+                       # Enabling mesh networks.
+                       Kconfig_style_config MESH
                fi
        else
                Kconfig_style_config TLS internal