pkgsrc/chat/ircII/options.mk

18 lines
554 B
Makefile

# $NetBSD: options.mk,v 1.2 2015/09/30 08:25:37 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ircII
PKG_SUPPORTED_OPTIONS= # only socks group
PKG_OPTIONS_OPTIONAL_GROUPS= socks
PKG_OPTIONS_GROUP.socks= socks4 dante
.include "../../mk/bsd.options.mk"
# Include SOCKS firewall support
.if !empty(PKG_OPTIONS:Msocks4)
.include "../../net/socks4/buildlink3.mk"
CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.socks4}
.endif
.if !empty(PKG_OPTIONS:Mdante)
.include "../../net/dante/buildlink3.mk"
CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.dante}
.endif