Date: Sat, 12 Oct 2024 15:06:19 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1ce9c3894bb8 - main - multimedia/youtui: Fix build on i386 Message-ID: <202410121506.49CF6JjB044667@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ce9c3894bb8504f5d16b1e0171789a203a97be2 commit 1ce9c3894bb8504f5d16b1e0171789a203a97be2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-10-11 15:19:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-12 15:06:13 +0000 multimedia/youtui: Fix build on i386 ... by adding sse2-related RUSTFLAGS. --- multimedia/youtui/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/youtui/Makefile b/multimedia/youtui/Makefile index 55d7fa406815..f784525cd1ee 100644 --- a/multimedia/youtui/Makefile +++ b/multimedia/youtui/Makefile @@ -18,6 +18,8 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= nick42d +RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386 + CARGO_CRATES= addr2line-0.22.0 \ adler-1.0.2 \ aes-0.8.4 \ @@ -471,7 +473,7 @@ do-install: find ${WRKDIR}/target echo "<< find" ${INSTALL_PROGRAM} \ - ${WRKDIR}/target/*/release/${PORTNAME} \ + ${WRKDIR}/target/release/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410121506.49CF6JjB044667>