aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-10-30 21:37:16 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-10-31 00:12:57 +0000
commitc2ef60b1937e374eeabcf9e7e61405f5e014089b (patch)
treebccc269d311d27fe4244cc9876e2ac6ede255828
parent0b0fc74c665c146c472aa72ff35dc72c8b7bbe34 (diff)
downloadports-c2ef60b1937e374eeabcf9e7e61405f5e014089b.tar.gz
ports-c2ef60b1937e374eeabcf9e7e61405f5e014089b.zip
mail/pizauth: Fix build on i386
Reported by: fallout Approved by: portmgr@ (blanket; unbreak) (cherry picked from commit de40c16749c0ed0832f26d3787128e2229857d87)
-rw-r--r--mail/pizauth/Makefile2
1 files changed, 2 insertions, 0 deletions
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