pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/daemontools-run Add 'inet6' option to control...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31dc2c4d5ada
branches:  trunk
changeset: 311017:31dc2c4d5ada
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 30 00:02:39 2018 +0000

description:
Add 'inet6' option to control dependency on ucspi-tcp{6,}. Bump version.

diffstat:

 sysutils/daemontools-run/Makefile   |   7 ++++---
 sysutils/daemontools-run/options.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 9f5b9b5837e1 -r 31dc2c4d5ada sysutils/daemontools-run/Makefile
--- a/sysutils/daemontools-run/Makefile Sun Jul 29 23:59:44 2018 +0000
+++ b/sysutils/daemontools-run/Makefile Mon Jul 30 00:02:39 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/07/25 16:32:34 schmonz Exp $
+# $NetBSD: Makefile,v 1.8 2018/07/30 00:02:39 schmonz Exp $
 #
 
-DISTNAME=              daemontools-run-20180725
+DISTNAME=              daemontools-run-20180730
 CATEGORIES=            sysutils
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -12,7 +12,6 @@
 
 DEPENDS_DAEMONTOOLS=   daemontools-[0-9]*:../../sysutils/daemontools
 DEPENDS+=              ${DEPENDS_DAEMONTOOLS}
-DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
 
 WRKSRC=                        ${WRKDIR}
 NO_BUILD=              yes
@@ -46,6 +45,8 @@
 .  endif
 .endif
 
+.include "options.mk"
+
 do-install:
        ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/daemontools-run
 
diff -r 9f5b9b5837e1 -r 31dc2c4d5ada sysutils/daemontools-run/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-run/options.mk       Mon Jul 30 00:02:39 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2018/07/30 00:02:39 schmonz Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.daemontools-run
+PKG_SUPPORTED_OPTIONS+=                inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+DEPENDS+=                      ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
+.else
+DEPENDS+=                      ucspi-tcp-[0-9]*:../../net/ucspi-tcp
+.endif



Home | Main Index | Thread Index | Old Index