git: 1e3cc69e40c4 - main - security/uacme: Fix use system libev

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 10:05:10 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e3cc69e40c42b8c28496e0d86af554b88e70ff0

commit 1e3cc69e40c42b8c28496e0d86af554b88e70ff0
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-09-18 09:59:53 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-09-18 10:04:58 +0000

    security/uacme: Fix use system libev
    
    Vendored libev was in use because configure didn't found system libev
    added in 7ddc39e
---
 security/uacme/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/security/uacme/Makefile b/security/uacme/Makefile
index 69350c1ada33..7818afd129db 100644
--- a/security/uacme/Makefile
+++ b/security/uacme/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	uacme
 DISTVERSIONPREFIX=	upstream/
 DISTVERSION=	1.7.4
+PORTREVISION=	1
 CATEGORIES=	security www
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -43,6 +44,8 @@ OPENSSL_USES=			ssl
 OPENSSL_CONFIGURE_WITH=		openssl=${OPENSSLBASE}
 UALPN_LIB_DEPENDS=		libev.so:devel/libev
 UALPN_CONFIGURE_WITH=		ualpn
+UALPN_CONFIGURE_ENV=		CFLAGS="`pkgconf --cflags libev`" \
+				LDFLAGS="`pkgconf --libs libev`"
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}