git: ed6318505496 - main - dns/unbound: Fix DoH compilation

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sat, 26 Feb 2022 22:31:46 UTC
The branch main has been updated by kbowling:

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

commit ed63185054966d4432d27dfd5b8a6954450c31b1
Author:     Jaap Akkerhuis <jaap@NLnetLabs.nl>
AuthorDate: 2022-02-26 22:29:48 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2022-02-26 22:29:48 +0000

    dns/unbound: Fix DoH compilation
    
    PR:             262145
    Reported by:    freebsd@rail.eu.org
    Tested by:      freebsd@rail.eu.org
---
 dns/unbound/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 32f7aab536b8..5d606d88e488 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	unbound
 DISTVERSION=	1.15.0
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	https://www.nlnetlabs.nl/downloads/unbound/ \
 		https://distfiles.crux.guru/
@@ -64,6 +65,7 @@ DNSTAP_LIB_DEPENDS=		libfstrm.so:devel/fstrm \
 				libprotobuf-c.so:devel/protobuf-c
 DNSTAP_CONFIGURE_ENABLE=	dnstap
 DOH_LIB_DEPENDS=		libnghttp2.so:www/libnghttp2
+DOH_CONFIGURE_ON=		--with-libnghttp2
 ECDSA_CONFIGURE_ENABLE=		ecdsa
 ECDSA_VARS=			DEPENDS_ARGS+=WITH_ECDSA=yes
 EVAPI_CONFIGURE_ENABLE=		event-api