summaryrefslogtreecommitdiff
path: root/usr.bin/rsync/Makefile
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-10-29 08:01:00 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-10-29 08:01:00 +0000
commit3a81e5d781279f9f0ff6f56b9aeda90460ab563f (patch)
tree50ec6400523ccb0c4e064200a7d4d7bb2edff6d6 /usr.bin/rsync/Makefile
parent7e0fdfd0f823c806ad64c70568f58b4679842bff (diff)
Properly implement --max-size and --min-size.
This uses scan_scaled(3) from libutil which is very similar to how rsync behaves. Not implemented are the +/-1 math and the 1000 vs 1024 multipliers. OK benno@ job@
Diffstat (limited to 'usr.bin/rsync/Makefile')
-rw-r--r--usr.bin/rsync/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rsync/Makefile b/usr.bin/rsync/Makefile
index 74d15d29a64..3c60f18e07f 100644
--- a/usr.bin/rsync/Makefile
+++ b/usr.bin/rsync/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.12 2021/10/22 11:10:34 claudio Exp $
+# $OpenBSD: Makefile,v 1.13 2021/10/29 08:00:59 claudio Exp $
PROG= openrsync
SRCS= blocks.c client.c copy.c downloader.c fargs.c flist.c hash.c ids.c \
io.c log.c main.c misc.c mkpath.c mktemp.c receiver.c rmatch.c \
rules.c sender.c server.c session.c socket.c symlinks.c uploader.c
-LDADD+= -lcrypto -lm
-DPADD+= ${LIBCRYPTO} ${LIBM}
+LDADD+= -lcrypto -lm -lutil
+DPADD+= ${LIBCRYPTO} ${LIBM} ${LIBUTIL}
MAN= openrsync.1
CFLAGS+= -Wall -Wextra