pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/djbdns-run Add 'inet6' option to control dependenc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/640259e35786
branches:  trunk
changeset: 383390:640259e35786
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jul 29 23:59:26 2018 +0000

description:
Add 'inet6' option to control dependency on ucspi-tcp{6,}, even
though net/djbdns itself still doesn't support the 'inet6' option.
Bump version.

diffstat:

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

diffs (46 lines):

diff -r 769ba4824242 -r 640259e35786 net/djbdns-run/Makefile
--- a/net/djbdns-run/Makefile   Sun Jul 29 23:51:21 2018 +0000
+++ b/net/djbdns-run/Makefile   Sun Jul 29 23:59:26 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2018/07/25 16:32:34 schmonz Exp $
+# $NetBSD: Makefile,v 1.30 2018/07/29 23:59:26 schmonz Exp $
 #
 
-DISTNAME=              djbdns-run-20180725
+DISTNAME=              djbdns-run-20180730
 CATEGORIES=            net
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -13,7 +13,6 @@
 DEPENDS_DJBDNS=                djbdns>=1.05nb5:../../net/djbdns
 DEPENDS+=              ${DEPENDS_DJBDNS}
 DEPENDS+=              daemontools-[0-9]*:../../sysutils/daemontools
-DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
 
 WRKSRC=                        ${WRKDIR}
 NO_BUILD=              yes
@@ -58,6 +57,8 @@
 .  endif
 .endif
 
+.include "options.mk"
+
 do-install:
        ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/djbdns-run
 
diff -r 769ba4824242 -r 640259e35786 net/djbdns-run/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns-run/options.mk Sun Jul 29 23:59:26 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2018/07/29 23:59:26 schmonz Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.djbdns-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