summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2011-03-12 12:02:09 +0000
committerwiz <wiz>2011-03-12 12:02:09 +0000
commitae52524cc73c7213c4d4a6a29337d539af3a1e68 (patch)
tree787fa9bbf940c933c169cd0f3c2db743e90419d8 /net
parente262bdfd93c5f2ae8c47dc99fed583f7068664d4 (diff)
downloadpkgsrc-ae52524cc73c7213c4d4a6a29337d539af3a1e68.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)