pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ucspi-ssl Add 'inet6' option to control dependency...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f80d55fcd23
branches:  trunk
changeset: 311005:6f80d55fcd23
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jul 29 23:23:09 2018 +0000

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

diffstat:

 net/ucspi-ssl/Makefile   |   6 ++----
 net/ucspi-ssl/options.mk |  10 ++++++++--
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r f6e7e3be3469 -r 6f80d55fcd23 net/ucspi-ssl/Makefile
--- a/net/ucspi-ssl/Makefile    Sun Jul 29 23:20:47 2018 +0000
+++ b/net/ucspi-ssl/Makefile    Sun Jul 29 23:23:09 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2018/07/25 16:32:34 schmonz Exp $
+# $NetBSD: Makefile,v 1.22 2018/07/29 23:23:09 schmonz Exp $
 #
 
 DISTNAME=              ucspi-ssl-0.99e
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            net
 MASTER_SITES=          https://www.fehcom.de/ipnet/ucspi-ssl/
 EXTRACT_SUFX=          .tgz
@@ -11,8 +11,6 @@
 HOMEPAGE=              https://www.fehcom.de/ipnet/ucspi-ssl.html
 COMMENT=               Command-line tools for SSL client-server applications
 
-DEPENDS+=              ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
-
 WRKSRC=                        ${WRKDIR}/host/superscript.com/net/${PKGNAME_NOREV}
 DJB_SLASHPACKAGE=      YES
 DJB_RESTRICTED=                no
diff -r f6e7e3be3469 -r 6f80d55fcd23 net/ucspi-ssl/options.mk
--- a/net/ucspi-ssl/options.mk  Sun Jul 29 23:20:47 2018 +0000
+++ b/net/ucspi-ssl/options.mk  Sun Jul 29 23:23:09 2018 +0000
@@ -1,10 +1,16 @@
-# $NetBSD: options.mk,v 1.5 2018/06/18 11:00:21 schmonz Exp $
+# $NetBSD: options.mk,v 1.6 2018/07/29 23:23:09 schmonz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ucspi-ssl
-PKG_SUPPORTED_OPTIONS+=        perl
+PKG_SUPPORTED_OPTIONS+=        inet6 perl
 
 .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
+
 PLIST_VARS+=           perl
 .if !empty(PKG_OPTIONS:Mperl)
 .include "../../lang/perl5/buildlink3.mk"



Home | Main Index | Thread Index | Old Index