1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

comms/libusbsio: fix installation where ARCH != MACHINE_CPU

install  -m 0644 /wrkdirs/usr/ports/comms/libusbsio/work/libusbsio-8577280966ee91cab606df5b0c64889be71ce7b9/bin/freebsd_powerpc64le/libusbsio.a /wrkdirs/usr/ports/comms/libusbsio/work/stage/usr/local/lib
install: /wrkdirs/usr/ports/comms/libusbsio/work/libusbsio-8577280966ee91cab606df5b0c64889be71ce7b9/bin/freebsd_powerpc64le/libusbsio.a: No such file or directory
This commit is contained in:
Piotr Kubaj 2024-09-20 01:38:41 +02:00
parent afa32b359c
commit 0f2302bb8d

View File

@ -22,7 +22,7 @@ GH_TAGNAME= 8577280966ee91cab606df5b0c64889be71ce7b9
PLIST_FILES= lib/${PORTNAME}.a lib/${PORTNAME}.so
do-install:
${INSTALL_DATA} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
${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
.include <bsd.port.mk>