summaryrefslogtreecommitdiff
path: root/www/screws/options.mk
blob: e1246d35010f969d98aeccbf7abf2bdaec747833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: options.mk,v 1.4 2012/06/12 15:46:04 wiz Exp $
#

PKG_OPTIONS_VAR=	PKG_OPTIONS.screws
PKG_SUPPORTED_OPTIONS=	inet6 lua ssl
PKG_SUGGESTED_OPTIONS=	inet6 lua ssl

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

.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+=	IPV6=1
.else
MAKE_ENV+=	IPV6=0
.endif

.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
MAKE_ENV+=	INCORE_LUA=1
.else
MAKE_ENV+=	INCORE_LUA=0
.endif

.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
MAKE_ENV+=	SSL=1
.else
MAKE_ENV+=	SSL=0
.endif