[Bug 267377] net/rsync: build (patch) failure with options -ICONV +FLAGS

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Oct 2022 22:27:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267377

            Bug ID: 267377
           Summary: net/rsync: build (patch) failure with options -ICONV
                    +FLAGS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: jon@FreeBSD.org
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

Created attachment 237665
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237665&action=edit
patch

cut and paste error in port Makefile prevents rsync from being built when ICONV
is disabled and FLAGS is enabled in the port options

Trivial fix:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.