aboutsummaryrefslogtreecommitdiff
path: root/net/bwn-firmware-kmod
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-09 19:13:27 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-09 19:13:27 +0000
commitbfc52e710421bd92466b329f6fbb9be930eb4755 (patch)
tree7436338612f22a81def9ee6c2d2e3826c1504ea4 /net/bwn-firmware-kmod
parent16a624cb31062d141fd07c5dc3f7794ed7fe74cd (diff)
Notes
Diffstat (limited to 'net/bwn-firmware-kmod')
-rw-r--r--net/bwn-firmware-kmod/Makefile8
-rw-r--r--net/bwn-firmware-kmod/pkg-plist2
2 files changed, 4 insertions, 6 deletions
diff --git a/net/bwn-firmware-kmod/Makefile b/net/bwn-firmware-kmod/Makefile
index 218fc86c3c9f..297e0eaf290d 100644
--- a/net/bwn-firmware-kmod/Makefile
+++ b/net/bwn-firmware-kmod/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bwn-firmware
PORTVERSION= 0.1.0
-CATEGORIES= net kld
+CATEGORIES= net
MASTER_SITES= http://downloads.openwrt.org/sources/ \
http://mirror2.openwrt.org/sources/
PKGNAMESUFFIX= -kmod
@@ -42,14 +42,14 @@ FWNAME_LP= bwn_v4_lp
FWFILE_LP= broadcom-wl-${FWVERSION_LP}.tar.bz2
FWVERSION_LP= 4.178.10.4
KMODNAME_LP= ${FWNAME_LP}_ucode
-KMODDIR= /boot/modules
PLIST_SUB= KMODNAME="${KMODNAME}" \
- KMODNAME_LP="${KMODNAME_LP}" \
- KMODDIR="${KMODDIR}"
+ KMODNAME_LP="${KMODNAME_LP}"
NO_PACKAGE= this is a modified version of a restricted firmware
NO_STAGE= yes
+
+USES= kmod
.include <bsd.port.pre.mk>
do-build:
diff --git a/net/bwn-firmware-kmod/pkg-plist b/net/bwn-firmware-kmod/pkg-plist
index 4135df6d6174..db363bbe39ec 100644
--- a/net/bwn-firmware-kmod/pkg-plist
+++ b/net/bwn-firmware-kmod/pkg-plist
@@ -1,5 +1,3 @@
@cwd %%KMODDIR%%
%%KMODNAME%%.ko
%%KMODNAME_LP%%.ko
-@exec kldxref %%KMODDIR%%
-@unexec kldxref %%KMODDIR%%