mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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)
This commit is contained in:
parent
390999aa2c
commit
2effd5a3db
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue