pkgsrc/chat/bitlbee/options.mk
nia 317236d767 bitlbee: Add an otr option. Enable it by default.
This moves the inet6 option to an options.mk.

While here, silence some pkglint warnings.

Bump PKGREVISION.
2019-07-28 15:37:26 +00:00

20 lines
434 B
Makefile

# $NetBSD: options.mk,v 1.1 2019/07/28 15:37:26 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bitlbee
PKG_SUPPORTED_OPTIONS= inet6 otr
PKG_SUGGESTED_OPTIONS= inet6 otr
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --ipv6=1
.else
CONFIGURE_ARGS+= --ipv6=0
.endif
.if !empty(PKG_OPTIONS:Motr)
CONFIGURE_ARGS+= --otr=1
.include "../../chat/libotr/buildlink3.mk"
.else
CONFIGURE_ARGS+= --otr=0
.endif