commit:     0e8388b9888cee25d4fa45f6a75db2f82f39993c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 00:34:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 00:34:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8388b9

net-wireless/broadcom-sta: adjust ebuild structure

* Sort variables
* Move PATCHES to out of 'phase space'

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../broadcom-sta-6.30.223.271-r6.ebuild            | 37 +++++++++++-----------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild 
b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild
index b84669a9969..97fa2fc9dde 100644
--- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild
+++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit eutils linux-info linux-mod
 
 DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver"
@@ -10,6 +11,7 @@ 
SRC_BASE="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35
 SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz )
        amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz )
        
https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_${PV}.txt -> 
README-${P}.txt"
+S="${WORKDIR}"
 
 LICENSE="Broadcom"
 KEYWORDS="-* ~amd64 ~x86"
@@ -17,9 +19,22 @@ KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="mirror"
 
 DEPEND="virtual/linux-sources"
-RDEPEND=""
 
-S="${WORKDIR}"
+PATCHES=(
+       "${FILESDIR}/${PN}-6.30.223.141-makefile.patch"
+       "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch"
+       "${FILESDIR}/${PN}-6.30.223.141-gcc.patch"
+       "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.12.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.15.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.1.patch"
+       "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.6.patch"
+)
 
 MODULE_NAMES="wl(net/wireless)"
 MODULESD_WL_ALIASES=("wlan0 wl")
@@ -71,22 +86,6 @@ pkg_setup() {
        BUILD_TARGETS="wl.ko"
 }
 
-PATCHES=(
-               "${FILESDIR}/${PN}-6.30.223.141-makefile.patch"
-               "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch"
-               "${FILESDIR}/${PN}-6.30.223.141-gcc.patch"
-               "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.12.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.15.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.1.patch"
-               "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.6.patch"
-)
-
 src_install() {
        linux-mod_src_install
 

Reply via email to