mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00: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
@ -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…
Reference in New Issue
Block a user