pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libfetch



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 26 10:24:22 UTC 2021

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

Log Message:
libfetch: Only enable IPv6 on supported systems. Needed on UnixWare.

Adapted from Boyd Lynn Gerber.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/libfetch/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/libfetch/options.mk
diff -u pkgsrc/net/libfetch/options.mk:1.4 pkgsrc/net/libfetch/options.mk:1.5
--- pkgsrc/net/libfetch/options.mk:1.4  Mon Jun  9 23:42:57 2014
+++ pkgsrc/net/libfetch/options.mk      Sun Dec 26 10:24:22 2021
@@ -1,8 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2014/06/09 23:42:57 obache Exp $
+# $NetBSD: options.mk,v 1.5 2021/12/26 10:24:22 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libfetch
 PKG_SUPPORTED_OPTIONS= inet6 openssl
-PKG_SUGGESTED_OPTIONS= inet6
 
 CHECK_BUILTIN.openssl:=        yes
 .include "../../security/openssl/builtin.mk"
@@ -12,6 +11,12 @@ CHECK_BUILTIN.openssl:=      no
 PKG_SUGGESTED_OPTIONS+=        openssl
 .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:Minet6)



Home | Main Index | Thread Index | Old Index