pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/rsync Make zstd an option (enabled by default).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2242a411f3e0
branches:  trunk
changeset: 390766:2242a411f3e0
user:      sekiya <sekiya%pkgsrc.org@localhost>
date:      Thu Dec 29 00:47:40 2022 +0000

description:
Make zstd an option (enabled by default).

Bump package revision.

diffstat:

 net/rsync/Makefile   |   4 ++--
 net/rsync/options.mk |  13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r 74ab432407d0 -r 2242a411f3e0 net/rsync/Makefile
--- a/net/rsync/Makefile        Wed Dec 28 23:45:02 2022 +0000
+++ b/net/rsync/Makefile        Thu Dec 29 00:47:40 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.124 2022/10/24 10:28:22 adam Exp $
+# $NetBSD: Makefile,v 1.125 2022/12/29 00:47:40 sekiya Exp $
 
 DISTNAME=      rsync-3.2.7
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://rsync.samba.org/ftp/rsync/
 MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/
@@ -33,7 +34,6 @@
 .include "options.mk"
 
 .include "../../archivers/lz4/buildlink3.mk"
-.include "../../archivers/zstd/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/popt/buildlink3.mk"
 .include "../../devel/xxhash/buildlink3.mk"
diff -r 74ab432407d0 -r 2242a411f3e0 net/rsync/options.mk
--- a/net/rsync/options.mk      Wed Dec 28 23:45:02 2022 +0000
+++ b/net/rsync/options.mk      Thu Dec 29 00:47:40 2022 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: options.mk,v 1.3 2022/01/19 20:01:18 kim Exp $
+# $NetBSD: options.mk,v 1.4 2022/12/29 00:47:40 sekiya Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rsync
 
-PKG_SUPPORTED_OPTIONS= acl
-PKG_SUGGESTED_OPTIONS= acl
+PKG_SUPPORTED_OPTIONS= zstd
+PKG_SUGGESTED_OPTIONS= zstd
 
 .include "../../mk/bsd.options.mk"
 
-.if empty(PKG_OPTIONS:Macl)
-CONFIGURE_ARGS+=       --disable-acl-support
+.if !empty(PKG_OPTIONS:Mzstd)
+.include "../../archivers/zstd/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-zstd
+.else
+CONFIGURE_ARGS+=       --disable-zstd
 .endif



Home | Main Index | Thread Index | Old Index