Add a curl FLAVOR to Kore, and regen PLIST.

This commit is contained in:
fcambus 2019-05-16 19:47:49 +00:00
parent 1bc740e800
commit 6c976f8d25
2 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2019/05/16 14:08:52 fcambus Exp $
# $OpenBSD: Makefile,v 1.13 2019/05/16 19:47:49 fcambus Exp $
COMMENT = web application framework for writing scalable web APIs in C
DISTNAME = kore-3.3.0
REVISION = 0
CATEGORIES = www
@ -17,9 +18,15 @@ WANTLIB += c crypto pthread ssl
MASTER_SITES = https://kore.io/releases/
FLAVORS = debug pgsql
FLAVORS = curl debug pgsql
FLAVOR ?=
.if ${FLAVOR} == "curl"
MAKE_ENV += CURL=1
WANTLIB += curl
LIB_DEPENDS += net/curl
.endif
.if ${FLAVOR} == "debug"
MAKE_ENV += DEBUG=1
.endif

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.2 2018/07/09 17:39:57 fcambus Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/05/16 19:47:49 fcambus Exp $
@bin bin/kodev
@bin bin/kore
include/kore/
include/kore/curl.h
include/kore/http.h
include/kore/jsonrpc.h
include/kore/kore.h