git: c2ef60b1937e - 2024Q4 - mail/pizauth: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Oct 2024 00:13:05 UTC
The branch 2024Q4 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c2ef60b1937e374eeabcf9e7e61405f5e014089b
commit c2ef60b1937e374eeabcf9e7e61405f5e014089b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 21:37:16 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:12:57 +0000
mail/pizauth: Fix build on i386
Reported by: fallout
Approved by: portmgr@ (blanket; unbreak)
(cherry picked from commit de40c16749c0ed0832f26d3787128e2229857d87)
---
mail/pizauth/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mail/pizauth/Makefile b/mail/pizauth/Makefile
index f09c7761f1bf..e6c46d3e2ed9 100644
--- a/mail/pizauth/Makefile
+++ b/mail/pizauth/Makefile
@@ -15,6 +15,8 @@ USE_GITHUB= yes
GH_ACCOUNT= ltratt
GH_TAGNAME= ${DISTNAME}
+RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
PLIST_FILES= bin/pizauth \
share/man/man1/pizauth.1.gz \
share/man/man5/pizauth.conf.5.gz