pkgsrc/net/tnftp/options.mk

23 lines
520 B
Makefile
Raw Normal View History

# $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
PKG_SUPPORTED_OPTIONS= inet6
2005-12-02 18:03:06 +01:00
PKG_OPTIONS_OPTIONAL_GROUPS+= socks
PKG_OPTIONS_GROUP.socks= socks5
PKG_SUGGESTED_OPTIONS= inet6
2005-12-02 18:03:06 +01:00
.include "../../mk/bsd.options.mk"
.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"
.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