pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/tnftp



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Nov 22 16:09:33 UTC 2021

Modified Files:
        pkgsrc/net/tnftp: options.mk

Log Message:
tnftp: Disable ipv6 option if the OS doesn't have it.

Needed on unixware.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/tnftp/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/tnftp/options.mk
diff -u pkgsrc/net/tnftp/options.mk:1.13 pkgsrc/net/tnftp/options.mk:1.14
--- pkgsrc/net/tnftp/options.mk:1.13    Tue Jun  2 12:17:20 2020
+++ pkgsrc/net/tnftp/options.mk Mon Nov 22 16:09:33 2021
@@ -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 @@ CHECK_BUILTIN.openssl:=      no
 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