pkgsrc/net/tnftp/options.mk

37 lines
836 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.11 2015/09/30 08:25:37 tnn Exp $
2005-12-02 18:03:06 +01:00
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp
PKG_SUPPORTED_OPTIONS= inet6 ssl socks
PKG_SUGGESTED_OPTIONS= inet6
2005-12-02 18:03:06 +01:00
CHECK_BUILTIN.openssl:= yes
.include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl:= no
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS+= ssl
.endif
2005-12-02 18:03:06 +01:00
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Msocks)
2007-08-07 06:59:33 +02:00
CONFIGURE_ARGS+= --with-socks
.include "../../net/dante/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
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --enable-ssl
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.else
CONFIGURE_ARGS+= --disable-ssl
.endif