Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/net/rsync/Makefile,v retrieving revision 1.117 diff -u -p -r1.117 Makefile --- Makefile 30 Nov 2021 22:57:02 -0000 1.117 +++ Makefile 19 Jan 2022 08:35:23 -0000 @@ -32,6 +32,8 @@ SUBST_FILES.paths= rsync.1 rsyncd.conf.5 SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g' SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g' +.include "options.mk" + .include "../../archivers/lz4/buildlink3.mk" .include "../../archivers/zstd/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" Index: options.mk =================================================================== RCS file: options.mk diff -N options.mk --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ options.mk 19 Jan 2022 08:35:23 -0000 @@ -0,0 +1,12 @@ +# $NetBSD$ + +PKG_OPTIONS_VAR= PKG_OPTIONS.rsync + +PKG_SUPPORTED_OPTIONS= acl +PKG_SUGGESTED_OPTIONS= acl + +.include "../../mk/bsd.options.mk" + +.if empty(PKG_OPTIONS:Macl) +CONFIGURE_ARGS+= --disable-acl-support +.endif