net-wireless/wpa_supplicant: minor fixes for live ebuild
authorRick Farina <zerochaos@gentoo.org>
Wed, 5 Dec 2018 21:59:58 +0000 (16:59 -0500)
committerRick Farina <zerochaos@gentoo.org>
Wed, 5 Dec 2018 22:08:21 +0000 (17:08 -0500)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild

index 5c5676770af422bd4751933cc78648c7bd83a632..df34e7baa75cb642071020072cfc54fc30cb60db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -135,10 +135,7 @@ src_prepare() {
        fi
 
        # bug (320097)
-       #eapply "${FILESDIR}/${P}-do-not-call-dbus-functions-with-NULL-path.patch"
-
-       # bug (596332 & 651314)
-       #eapply "${FILESDIR}/${P}-libressl-compatibility.patch"
+       eapply "${FILESDIR}/${PN}-2.6-do-not-call-dbus-functions-with-NULL-path.patch"
 
        # bug (640492)
        sed -i 's#-Werror ##' wpa_supplicant/Makefile || die
@@ -387,7 +384,9 @@ src_install() {
 
        newdoc .config build-config
 
-       #doman doc/docbook/*.{5,8}
+       if [ "${PV}" != "9999" ]; then
+               doman doc/docbook/*.{5,8}
+       fi
 
        if use qt5 ; then
                into /usr