pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tnftp tnftp: Disable ipv6 option if the OS doesn't...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b736d57b0c34
branches: trunk
changeset: 769900:b736d57b0c34
user: nia <nia%pkgsrc.org@localhost>
date: Mon Nov 22 16:09:33 2021 +0000
description:
tnftp: Disable ipv6 option if the OS doesn't have it.
Needed on unixware.
diffstat:
net/tnftp/options.mk | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r f8f88ecd2177 -r b736d57b0c34 net/tnftp/options.mk
--- a/net/tnftp/options.mk Mon Nov 22 12:00:13 2021 +0000
+++ b/net/tnftp/options.mk Mon Nov 22 16:09:33 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: options.mk,v 1.13 2020/06/02 12:17:20 jperkin Exp $
+# $NetBSD: options.mk,v 1.14 2021/11/22 16:09:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp
PKG_SUPPORTED_OPTIONS= editline inet6 ssl socks
-PKG_SUGGESTED_OPTIONS= inet6
CHECK_BUILTIN.openssl:= yes
.include "../../security/openssl/builtin.mk"
@@ -12,6 +11,12 @@
PKG_SUGGESTED_OPTIONS+= ssl
.endif
+.include "../../mk/bsd.prefs.mk"
+
+.if ${IPV6_READY:tl} == "yes"
+PKG_SUGGESTED_OPTIONS+= inet6
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Meditline)
Home |
Main Index |
Thread Index |
Old Index