summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-12-27 13:39:01 +0000
committertron <tron@pkgsrc.org>2003-12-27 13:39:01 +0000
commit547b3a49960f21ddc750dfccb104a5aa4bbbc7b4 (patch)
tree5b591649fbfede38265726ca7fb5442029f26067 /mk/bsd.prefs.mk
parent569a11b533447470ccff2e665f999ba7c0f250b7 (diff)
downloadpkgsrc-547b3a49960f21ddc750dfccb104a5aa4bbbc7b4.tar.gz
Override predefined "USE_INET6" if "USE_SOCKS" is defined.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 65ba2adee8d..df2a37e71c0 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.136 2003/12/27 13:28:46 tron Exp $
+# $NetBSD: bsd.prefs.mk,v 1.137 2003/12/27 13:39:01 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -240,7 +240,7 @@ SHAREMODE?= ${DOCMODE}
# if the system is IPv6-ready, compile with IPv6 support turned on.
.if defined(USE_INET6)
-.if empty(USE_INET6:M[Yy][Ee][Ss])
+.if empty(USE_INET6:M[Yy][Ee][Ss]) || defined(USE_SOCKS)
USE_INET6= NO
.else
USE_INET6= YES