diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-07 10:56:19 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-07 10:56:19 +0800 |
commit | a2ab1c92626150c186b51a1c1110d4bdbf7bba5d (patch) | |
tree | 43df51e08403ed3acae47a1abb717b5fa7dc0ba5 /sysutils/ipmi-kmod | |
parent | df212ea665e32c331f1268d5b03dbb0dcca46137 (diff) | |
download | freebsd-ports-gnome-a2ab1c92626150c186b51a1c1110d4bdbf7bba5d.tar.gz freebsd-ports-gnome-a2ab1c92626150c186b51a1c1110d4bdbf7bba5d.tar.zst freebsd-ports-gnome-a2ab1c92626150c186b51a1c1110d4bdbf7bba5d.zip |
Replace all INSTALL_DATA/INSTALL_SCRIPT and INSTALL_PROGRAM/STRIP=
hacks to install kernel loadable modules correctly on amd64 platforms
with the new INSTALL_KLD command.
All PORTREVISIONS have been bumped to show when the new version of
installing became available.
Diffstat (limited to 'sysutils/ipmi-kmod')
-rw-r--r-- | sysutils/ipmi-kmod/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sysutils/ipmi-kmod/Makefile b/sysutils/ipmi-kmod/Makefile index ba4a259af92d..899f2baa0eb2 100644 --- a/sysutils/ipmi-kmod/Makefile +++ b/sysutils/ipmi-kmod/Makefile @@ -7,6 +7,7 @@ PORTNAME= ipmi-kmod PORTVERSION= 20060926 +PORTREVISION= 1 CATEGORIES= sysutils kld MASTER_SITES= http://dpw.threerings.net/projects/ipmi-kmod/ @@ -28,11 +29,6 @@ KMODDIR= /boot/modules ONLY_FOR_ARCHS= i386 amd64 -# Don't strip module on amd64 systems -.if ${ARCH} == "amd64" -STRIP= -.endif - .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source to be installed .endif @@ -51,7 +47,7 @@ CFLAGS+= -I@/contrib/dev/acpica do-install: @${MKDIR} ${PREFIX}/include/sys ${INSTALL_DATA} ${WRKSRC}/sys/ipmi.h ${PREFIX}/include/sys - ${INSTALL_PROGRAM} ${WRKSRC}/ipmi.ko ${KMODDIR} + ${INSTALL_KLD} ${WRKSRC}/ipmi.ko ${KMODDIR} post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |