From 2effd5a3db89793cb70bedd71740c3c339e08ac4 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Thu, 10 Oct 2024 15:59:24 +0200 Subject: [PATCH] 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