pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pbulk: make rsync dependency a default-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37e2f32df01f
branches: trunk
changeset: 770636:37e2f32df01f
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Dec 06 11:21:19 2021 +0000
description:
pbulk: make rsync dependency a default-on option
diffstat:
pkgtools/pbulk/Makefile | 4 ++--
pkgtools/pbulk/options.mk | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r ab134b501738 -r 37e2f32df01f pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile Mon Dec 06 03:58:01 2021 +0000
+++ b/pkgtools/pbulk/Makefile Mon Dec 06 11:21:19 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.88 2020/08/09 23:18:30 joerg Exp $
+# $NetBSD: Makefile,v 1.89 2021/12/06 11:21:19 wiz Exp $
PKGNAME= pbulk-0.70
COMMENT= Modular bulk build framework
.include "../../pkgtools/pbulk/Makefile.common"
+.include "../../pkgtools/pbulk/options.mk"
USE_TOOLS+= awk:run bzip2:run digest:run gzip:run make:run \
mail:run sed:run tar:run
-DEPENDS+= rsync-[0-9]*:../../net/rsync
DEPENDS+= pbulk-base>=0.38:../../pkgtools/pbulk-base
.include "../../mk/bsd.prefs.mk"
diff -r ab134b501738 -r 37e2f32df01f pkgtools/pbulk/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pbulk/options.mk Mon Dec 06 11:21:19 2021 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2021/12/06 11:21:19 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pbulk
+PKG_SUPPORTED_OPTIONS+= pbulk-rsync
+PKG_SUGGESTED_OPTIONS+= pbulk-rsync
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpbulk-rsync)
+DEPENDS+= rsync-[0-9]*:../../net/rsync
+.endif
Home |
Main Index |
Thread Index |
Old Index