net-wireless/broadcom-sta: Inform users about a compatible wireless card
authorMatt Turner <mattst88@gentoo.org>
Sat, 9 Sep 2017 20:30:54 +0000 (13:30 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sat, 9 Sep 2017 20:31:17 +0000 (13:31 -0700)
net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild

index 5cf284a4cebb64851417a608580952cdaaaf17cf..34b37eceeaf8922ff3c1883e3499b79d50eb320f 100644 (file)
@@ -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