Turn off socks support via configure when option not enabled.
From Gregoire Sutre in PR 44710.
This commit is contained in:
parent
3b911e95ba
commit
c874597976
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: options.mk,v 1.4 2008/08/09 22:03:52 tron Exp $
|
# $NetBSD: options.mk,v 1.5 2011/03/12 12:02:09 wiz Exp $
|
||||||
|
|
||||||
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp
|
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp
|
||||||
PKG_SUPPORTED_OPTIONS= inet6
|
PKG_SUPPORTED_OPTIONS= inet6
|
||||||
|
@ -11,6 +11,8 @@ PKG_SUGGESTED_OPTIONS= inet6
|
||||||
.if !empty(PKG_OPTIONS:Msocks5)
|
.if !empty(PKG_OPTIONS:Msocks5)
|
||||||
CONFIGURE_ARGS+= --with-socks
|
CONFIGURE_ARGS+= --with-socks
|
||||||
.include "../../net/socks5/buildlink3.mk"
|
.include "../../net/socks5/buildlink3.mk"
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-socks
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !empty(PKG_OPTIONS:Minet6)
|
.if !empty(PKG_OPTIONS:Minet6)
|
||||||
|
|
Loading…
Reference in a new issue