- Install kernel module into the /boot/modules rather then into the kernel
default dir - Rebuild cross-reference on uninstall Reported by: Alexander Leidinger <Alexander@Leidinger.net>
This commit is contained in:
parent
6ba311e9d5
commit
27c514d668
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179446
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= devcpu
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://mbsd.msk.ru/dist/
|
||||
|
||||
|
@ -19,6 +20,8 @@ ONLY_FOR_ARCHS= i386 amd64
|
|||
NO_PACKAGE= depends on kernel
|
||||
|
||||
PLIST_SUB= KMODDIR="${KMODDIR:C,^/,,}"
|
||||
KMODDIR= /boot/modules
|
||||
MAKE_ENV+= KMODDIR="${KMODDIR}"
|
||||
|
||||
MAN4= cpu.4
|
||||
MAN8= cpu_microcode_tool.8
|
||||
|
|
|
@ -120,3 +120,4 @@ include/cpu.h
|
|||
@dirrm %%DATADIR%%
|
||||
@cwd /
|
||||
%%KMODDIR%%/cpu.ko
|
||||
@unexec kldxref /%%KMODDIR%%
|
||||
|
|
Loading…
Reference in a new issue