summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ucspi-ssl/Makefile6
-rw-r--r--net/ucspi-ssl/options.mk10
2 files changed, 10 insertions, 6 deletions
diff --git a/net/ucspi-ssl/Makefile b/net/ucspi-ssl/Makefile
index ce7ed776149..da5537fde8f 100644
--- a/net/ucspi-ssl/Makefile
+++ b/net/ucspi-ssl/Makefile
@@ -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 @@ MAINTAINER= schmonz@NetBSD.org
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 --git a/net/ucspi-ssl/options.mk b/net/ucspi-ssl/options.mk
index 2caadc671f8..1c5728d4f50 100644
--- a/net/ucspi-ssl/options.mk
+++ b/net/ucspi-ssl/options.mk
@@ -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"