aboutsummaryrefslogtreecommitdiff
path: root/palm/uppc-kmod
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-08 12:31:14 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-08 12:31:14 +0000
commite141b3c45d5cf838915debe3aecf8a9082162375 (patch)
tree0e7fe46a14b281df1db28f4d650c1bc4d564808e /palm/uppc-kmod
parentd88e80efec98be4683838ec332b1e6efb3aca680 (diff)
downloadports-e141b3c45d5cf838915debe3aecf8a9082162375.tar.gz
ports-e141b3c45d5cf838915debe3aecf8a9082162375.zip
Notes
Diffstat (limited to 'palm/uppc-kmod')
-rw-r--r--palm/uppc-kmod/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/palm/uppc-kmod/Makefile b/palm/uppc-kmod/Makefile
index 43179a5bd4bc..a6dd48ea2188 100644
--- a/palm/uppc-kmod/Makefile
+++ b/palm/uppc-kmod/Makefile
@@ -24,6 +24,11 @@ IGNORE= Requires kernel source (/usr/src/sys) to build
.include <bsd.port.pre.mk>
+# 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