summaryrefslogtreecommitdiff
path: root/security/stunnel/options.mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-07-03 04:00:18 +0000
committertv <tv@pkgsrc.org>2005-07-03 04:00:18 +0000
commitf9047e8d1b6ee0f8b1362ce1a913e1df0e9afdef (patch)
treef2fdaeb32faa07252628d9e1cca091a71d79e0a4 /security/stunnel/options.mk
parent79ea6ab3c92bcf929fb78e2d39f964b0eebfd7f4 (diff)
downloadpkgsrc-f9047e8d1b6ee0f8b1362ce1a913e1df0e9afdef.tar.gz
IPv6 support appeared in 4.06, but it was never enabled in pkgsrc.
Add as an options.mk switch, on by default where available. Bump to 4.07nb2.
Diffstat (limited to 'security/stunnel/options.mk')
-rw-r--r--security/stunnel/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/stunnel/options.mk b/security/stunnel/options.mk
new file mode 100644
index 00000000000..1b95feac565
--- /dev/null
+++ b/security/stunnel/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/07/03 04:00:18 tv Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.stunnel
+PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support IPv6
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif