summaryrefslogtreecommitdiff
path: root/palm
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 /palm
parent- Fix build with gcc-4.2 (diff)
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 'palm')
-rw-r--r--palm/uppc-kmod/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/palm/uppc-kmod/Makefile b/palm/uppc-kmod/Makefile
index 0c0d1458df89..17722b75a8e2 100644
--- a/palm/uppc-kmod/Makefile
+++ b/palm/uppc-kmod/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uppc
PORTVERSION= 0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= palm kld
MASTER_SITES= http://people.tecnik93.com/~sam/ports/
PKGNAMESUFFIX= -kmod
@@ -28,11 +28,6 @@ IGNORE= Requires kernel source (/usr/src/sys) to build
BROKEN= Does not compile with GCC 4.2
.endif
-# Don't strip module on amd64 systems
-.if ${ARCH} == "amd64"
-STRIP=
-.endif
-
post-build:
@${REINPLACE_CMD} -e 's|%%INITIAL_INSTALLDIR%%|${PREFIX}/lib|g' ${BUILD_WRKSRC}/uppcsetup
@${REINPLACE_CMD} -e 's|%%INITIAL_MODDIR%%|${KMODDIR}|g' ${WRKSRC}/uppcsetup
@@ -41,7 +36,7 @@ post-build:
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/uppc.ko ${PREFIX}/lib
+ ${INSTALL_KLD} ${WRKSRC}/uppc.ko ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/uppcsetup ${PREFIX}/sbin
cd ${WRKSRC} && ${INSTALL_MAN} ${MAN4} ${MANPREFIX}/man/man4