# /pobj/ulfius-2.7.15/ulfius-2.7.15/src/u_send_request.c:521:19: error: call to '_curl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument
ONLY_FOR_ARCHS = ${LP64_ARCHS}

COMMENT =	HTTP Framework for REST Applications in C

GH_ACCOUNT =	babelouest
GH_PROJECT =	ulfius
GH_TAGNAME =	v2.7.15

SHARED_LIBS =	ulfius	0.1

CATEGORIES =	www

HOMEPAGE =	https://babelouest.github.io/ulfius/

# LGPL 2.1
PERMIT_PACKAGE =	Yes

WANTLIB +=	c curl gnutls jansson microhttpd orcania pthread yder z

# workaround -Werror issues with base-gcc
COMPILER =	base-clang ports-gcc
COMPILER_LANGS=	c

MODULES =	devel/cmake

LIB_DEPENDS +=	devel/jansson \
		devel/orcania \
		devel/yder>=1.4.20 \
		net/curl \
		security/gnutls \
		www/libmicrohttpd

NO_TEST =	Yes

.include <bsd.port.mk>
