2015-02-01 09:58:52 +01:00
|
|
|
# $NetBSD: options.mk,v 1.9 2015/02/01 08:58:52 obache Exp $
|
2005-12-02 18:03:06 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp
|
2015-02-01 09:58:52 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
2005-12-02 18:03:06 +01:00
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS+= socks
|
2007-08-07 06:55:09 +02:00
|
|
|
PKG_OPTIONS_GROUP.socks= socks5
|
2008-08-10 00:03:52 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
2005-12-02 18:03:06 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2007-08-07 06:55:09 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Msocks5)
|
2007-08-07 06:59:33 +02:00
|
|
|
CONFIGURE_ARGS+= --with-socks
|
2005-12-02 18:03:06 +01:00
|
|
|
.include "../../net/socks5/buildlink3.mk"
|
2011-03-12 13:02:09 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-socks
|
2005-12-02 18:03:06 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|