git: 194c66e15190 - main - net/rsync: enable amd64 SIMD optimizations

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sat, 19 Sep 2026 16:27:38 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=194c66e15190c4d2f10aba7a0604a326da59f283

commit 194c66e15190c4d2f10aba7a0604a326da59f283
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2026-09-16 20:35:10 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2026-09-19 16:25:34 +0000

    net/rsync: enable amd64 SIMD optimizations
    
    PR:             297905
    Reported by:    naddy
---
 net/rsync/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 83086fe1b538..7648b5390d57 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rsync
 DISTVERSION=	3.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 
 CATEGORIES=	net
 MASTER_SITES=	https://www.mirrorservice.org/sites/rsync.samba.org/src/ \
@@ -34,7 +34,12 @@ GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--disable-debug \
 		--disable-md2man \
 		--enable-ipv6 \
-		--with-rsyncd-conf=${ETCDIR}/rsyncd.conf
+		--with-rsyncd-conf=${ETCDIR}/rsyncd.conf \
+		${CONFIGURE_ARGS_${ARCH}}
+CONFIGURE_ARGS_amd64=	--enable-md5-asm \
+			--enable-roll-simd \
+			--enable-roll-asm
+CONFIGURE_TARGET=	${HOSTARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check