aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipmi-kmod
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-07 02:56:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-07 02:56:19 +0000
commit4c97fac781480b9e55094c6ca6fde0a5b2fa7bc8 (patch)
tree09bf1b0ba0412ce3204e2e0fa33dc5cd25e92407 /sysutils/ipmi-kmod
parenta4af37e2df2c908765329244f0e703ae78c0859a (diff)
downloadports-4c97fac781480b9e55094c6ca6fde0a5b2fa7bc8.tar.gz
ports-4c97fac781480b9e55094c6ca6fde0a5b2fa7bc8.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.
Notes
Notes: svn path=/head/; revision=201024
Diffstat (limited to 'sysutils/ipmi-kmod')
-rw-r--r--sysutils/ipmi-kmod/Makefile8
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