summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-09-30 08:25:37 +0000
committertnn <tnn@pkgsrc.org>2015-09-30 08:25:37 +0000
commit1998d381ca6ba6f6124d25811b1bea38c283b176 (patch)
tree15f2e52cbc0823f38bb1aa505121cecf6db6165b /mail
parent17de9e488491a066fda981cece1574a0a83afbf5 (diff)
downloadpkgsrc-1998d381ca6ba6f6124d25811b1bea38c283b176.tar.gz
replace optional socks5 dependencies with net/dante
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/options.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/fetchmail/options.mk b/mail/fetchmail/options.mk
index fc59bf78185..d5f5bc51dde 100644
--- a/mail/fetchmail/options.mk
+++ b/mail/fetchmail/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.17 2014/02/12 23:19:49 tron Exp $
+# $NetBSD: options.mk,v 1.18 2015/09/30 08:25:37 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
PKG_SUPPORTED_OPTIONS= kerberos4 kerberos gssapi ssl
PKG_OPTIONS_OPTIONAL_GROUPS= socks
-PKG_OPTIONS_GROUP.socks= socks4 socks5
+PKG_OPTIONS_GROUP.socks= socks4 dante
PKG_SUGGESTED_OPTIONS= ssl
@@ -59,7 +59,8 @@ CONFIGURE_ARGS+= --without-ssl
.include "../../net/socks4/buildlink3.mk"
CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.socks4}
.endif
-.if !empty(PKG_OPTIONS:Msocks5)
-.include "../../net/socks5/buildlink3.mk"
-CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}
+.if !empty(PKG_OPTIONS:Mdante)
+.include "../../net/dante/buildlink3.mk"
+CPPFLAGS+= -I${BUILDLINK_PREFIX.dante}/include/dante
+CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.dante}
.endif