git: 2effd5a3db89 - main - comms/libusbsio: fix build on architectures where uname -p != uname -m
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 09:37:04 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=2effd5a3db89793cb70bedd71740c3c339e08ac4 commit 2effd5a3db89793cb70bedd71740c3c339e08ac4 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2024-10-10 13:59:24 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-10-21 09:35:59 +0000 comms/libusbsio: fix build on architectures where uname -p != uname -m The source uses uname -m to build a subdirectory, but we used uname -p to describe it. A fix was already attempted, but only incidentally correct on ppc. Use the right variable to fix the build on arm64, too. Approved by: portmgr (build fix blanket) --- comms/libusbsio/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comms/libusbsio/Makefile b/comms/libusbsio/Makefile index 84dd21601141..ff7f819be1c7 100644 --- a/comms/libusbsio/Makefile +++ b/comms/libusbsio/Makefile @@ -22,7 +22,7 @@ GH_TAGNAME= 8577280966ee91cab606df5b0c64889be71ce7b9 PLIST_FILES= lib/${PORTNAME}.a lib/${PORTNAME}.so do-install: - ${INSTALL_DATA} ${WRKSRC}/bin/${OPSYS:tl}_${MACHINE_CPU}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib - ${INSTALL_LIB} ${WRKSRC}/bin/${OPSYS:tl}_${MACHINE_CPU}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/bin/${OPSYS:tl}_${MACHINE}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/bin/${OPSYS:tl}_${MACHINE}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib .include <bsd.port.mk>