summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-03-12 12:02:09 +0000
committerwiz <wiz@pkgsrc.org>2011-03-12 12:02:09 +0000
commitfab506e17de3f34bc0589f06df2bbcb68a9ebb79 (patch)
tree787fa9bbf940c933c169cd0f3c2db743e90419d8 /net
parentac42fc61b339dd9e85101790ff185f5f38bd6bcc (diff)
downloadpkgsrc-fab506e17de3f34bc0589f06df2bbcb68a9ebb79.tar.gz
Turn off socks support via configure when option not enabled.
From Gregoire Sutre in PR 44710.
Diffstat (limited to 'net')
-rw-r--r--net/tnftp/options.mk4
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)