summaryrefslogtreecommitdiff
path: root/news/suck/options.mk
blob: 56b20b482837e9d77e53c84038c71495373c1f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: options.mk,v 1.2 2015/09/30 08:25:37 tnn Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.suck
PKG_OPTIONS_OPTIONAL_GROUPS+=	socks
PKG_OPTIONS_GROUP.socks=	socks4 dante

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Msocks4)
.include "../../net/socks4/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mdante)
CFLAGS+=	-I${BUILDLINK_PREFIX.dante}/include/dante
CPPFLAGS+=	-I${BUILDLINK_PREFIX.dante}/include/dante
.include "../../net/dante/buildlink3.mk"
.endif