diff options
author | stas <stas@FreeBSD.org> | 2006-12-11 08:06:55 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2006-12-11 08:06:55 +0800 |
commit | c3f812da4ebfbeb42a0816f560b73740dbf8612d (patch) | |
tree | 1ee42e562ab36fb7c854e99fed363c2cb3a88420 /sysutils/devcpu | |
parent | a4f5997b6a2dc43888e9281b55e73ad7d0809bf9 (diff) | |
download | freebsd-ports-gnome-c3f812da4ebfbeb42a0816f560b73740dbf8612d.tar.gz freebsd-ports-gnome-c3f812da4ebfbeb42a0816f560b73740dbf8612d.tar.zst freebsd-ports-gnome-c3f812da4ebfbeb42a0816f560b73740dbf8612d.zip |
- 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>
Diffstat (limited to 'sysutils/devcpu')
-rw-r--r-- | sysutils/devcpu/Makefile | 3 | ||||
-rw-r--r-- | sysutils/devcpu/pkg-plist | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/devcpu/Makefile b/sysutils/devcpu/Makefile index f3924e198e5a..cb6b208f7c77 100644 --- a/sysutils/devcpu/Makefile +++ b/sysutils/devcpu/Makefile @@ -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 diff --git a/sysutils/devcpu/pkg-plist b/sysutils/devcpu/pkg-plist index 7388892f9eca..2d7dc1d0c909 100644 --- a/sysutils/devcpu/pkg-plist +++ b/sysutils/devcpu/pkg-plist @@ -120,3 +120,4 @@ include/cpu.h @dirrm %%DATADIR%% @cwd / %%KMODDIR%%/cpu.ko +@unexec kldxref /%%KMODDIR%% |