git: fdb4b123a50e - main - net/rsync: Fix typo in options check

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Tue, 01 Nov 2022 17:41:52 UTC
The branch main has been updated by rodrigo:

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

commit fdb4b123a50e2c7744537529d93d45d931b76012
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2022-11-01 17:27:51 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2022-11-01 17:31:17 +0000

    net/rsync: Fix typo in options check
    
    Remove duplicate RENAMED option check and add the missing
    FLAGS one. This has no impact on default build configuration.
    
    Reported by:            Juraj Lutter <otis@FreeBSD.org>
---
 net/rsync/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 785b0d061f5d..3266ef680a1e 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -76,7 +76,7 @@ ZLIB_BASE_CONFIGURE_ON=	--with-included-zlib=no
 
 .include <bsd.port.options.mk>
 
-.if make(makesum) || ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MRENAMED}
+.if make(makesum) || ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS}
 DISTFILES+=	${PORTNAME}-patches-${DISTVERSION}${EXTRACT_SUFX}
 .endif