diff options
author | wiz <wiz> | 2011-03-12 12:02:09 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-03-12 12:02:09 +0000 |
commit | accfc0eee7a37fb2778400bb843aaa001bc6e055 (patch) | |
tree | 787fa9bbf940c933c169cd0f3c2db743e90419d8 | |
parent | 5a1b212de8c0b6b9510f268a1cb9ea5b21a2e9cc (diff) | |
download | pkgsrc-accfc0eee7a37fb2778400bb843aaa001bc6e055.tar.gz |
Turn off socks support via configure when option not enabled.
From Gregoire Sutre in PR 44710.
-rw-r--r-- | net/tnftp/options.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tnftp/options.mk b/net/tnftp/options.mk index da0cb6b8e27..7729b43ad71 100644 --- a/net/tnftp/options.mk +++ b/net/tnftp/options.mk @@ -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_SUPPORTED_OPTIONS= inet6 @@ -11,6 +11,8 @@ PKG_SUGGESTED_OPTIONS= inet6 .if !empty(PKG_OPTIONS:Msocks5) CONFIGURE_ARGS+= --with-socks .include "../../net/socks5/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-socks .endif .if !empty(PKG_OPTIONS:Minet6) |