summaryrefslogtreecommitdiff
path: root/net/tnftp
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
commitce3276230989c4b7d4d7516317b3d813c64ef6fb (patch)
tree787fa9bbf940c933c169cd0f3c2db743e90419d8 /net/tnftp
parentf59261210ef1dabaa25cc2826f25bb2a6bb48b5b (diff)
downloadpkgsrc-ce3276230989c4b7d4d7516317b3d813c64ef6fb.tar.gz
Turn off socks support via configure when option not enabled.
From Gregoire Sutre in PR 44710.
Diffstat (limited to 'net/tnftp')
-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)