summaryrefslogtreecommitdiff
path: root/www/kore/options.mk
blob: 9c9a3b2a1ba00ef2e5c14860448d80333af8d008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.1 2019/08/22 13:30:31 fcambus Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.kore
PKG_SUPPORTED_OPTIONS=	curl debug

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

# Compile in asynchronous curl support
.if !empty(PKG_OPTIONS:Mcurl)
.  include "../../www/curl/buildlink3.mk"
MAKE_FLAGS+=	CURL=1
USE_TOOLS+=	pkg-config
.endif

# Enable use of -d for debug
.if !empty(PKG_OPTIONS:Mdebug)
MAKE_FLAGS+=	DEBUG=1
.endif