commit:     a315a2dffd3af7817c6af988b1d54b8795522a71
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  9 20:30:54 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Sep  9 20:31:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a315a2df

net-wireless/broadcom-sta: Inform users about a compatible wireless card

 .../broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild       | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild 
b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
index 5cf284a4ceb..34b37eceeaf 100644
--- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
+++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
@@ -24,6 +24,20 @@ S="${WORKDIR}"
 MODULE_NAMES="wl(net/wireless)"
 MODULESD_WL_ALIASES=("wlan0 wl")
 
+pkg_pretend() {
+       ewarn
+       ewarn "If you are stuck using this unmaintained driver (likely in a 
MacBook),"
+       ewarn "you may be interested to know that a newer compatible wireless 
card"
+       ewarn "is supported by the in-tree brcmfmac driver. It has a model 
number "
+       ewarn "BCM943602CS and is for sale on the second hand market for less 
than "
+       ewarn "20 USD."
+       ewarn
+       ewarn "See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and"
+       ewarn "    https://wikidevi.com/wiki/Broadcom_BCM943602CS";
+       ewarn "for more information."
+       ewarn
+}
+
 pkg_setup() {
        # bug #300570
        # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled

Reply via email to