diff options
-rw-r--r-- | net/rsync/Makefile | 6 | ||||
-rw-r--r-- | net/rsync/options.mk | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index df47f829f83..5d921168261 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.117 2021/11/30 22:57:02 nia Exp $ +# $NetBSD: Makefile,v 1.118 2022/01/19 20:01:18 kim Exp $ DISTNAME= rsync-3.2.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= http://rsync.samba.org/ftp/rsync/ MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/ @@ -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" diff --git a/net/rsync/options.mk b/net/rsync/options.mk new file mode 100644 index 00000000000..daaffec35f5 --- /dev/null +++ b/net/rsync/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.3 2022/01/19 20:01:18 kim Exp $ + +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 |