pkgsrc/chat/scrollz/options.mk
nia 411911b600 scrollz: Non-default OpenSSL option is broken with 1.1, disable it
Upstream appears to be dead so I don't think this is getting fixed
any time soon. GnuTLS is the default anyway.
2020-11-30 12:28:50 +00:00

59 lines
1.4 KiB
Makefile

# $NetBSD: options.mk,v 1.5 2020/11/30 12:28:50 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.scrollz
PKG_SUPPORTED_OPTIONS= regexp utf8
PKG_SUGGESTED_OPTIONS+= inet6
PKG_OPTIONS_OPTIONAL_GROUPS= conflict socks ssl
PKG_OPTIONS_GROUP.socks= socks4 dante
PKG_OPTIONS_GROUP.ssl= gnutls
# PR 52883: these two options conflict
PKG_OPTIONS_GROUP.conflict= efence inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mefence)
.include "../../devel/electric-fence/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --enable-fish --with-ssl
.else
CONFIGURE_ARGS+= --disable-fish --without-ssl
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
# XXX: Broken with OpenSSL 1.1.
#.if !empty(PKG_OPTIONS:Mopenssl)
#.include "../../security/openssl/buildlink3.mk"
#CONFIGURE_ARGS+= --disable-fish --with-openssl
#.else
#CONFIGURE_ARGS+= --without-openssl
#.endif
.if !empty(PKG_OPTIONS:Mregexp)
CONFIGURE_ARGS+= --enable-regexp
.else
CONFIGURE_ARGS+= --disable-regexp
.endif
.if !empty(PKG_OPTIONS:Msocks4)
.include "../../net/socks4/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mdante)
.include "../../net/dante/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mutf8)
.include "../../converters/libiconv/buildlink3.mk"
CONFIGURE_ARGS+= --enable-utf8
LIBS+= -liconv
.else
CONFIGURE_ARGS+= --disable-utf8
.endif