git: 21ce3c98cd36 - main - net/avahi-app: Fix avahi-libevent.pc file.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 22 Sep 2022 16:15:47 UTC
The branch main has been updated by arrowd:

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

commit 21ce3c98cd36ce3a1344b044d1d7d1bc4f2d50bd
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-09-22 12:41:15 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-09-22 16:15:12 +0000

    net/avahi-app: Fix avahi-libevent.pc file.
    
    It was depending on a specific version of libevent.pc, which is no longer
    installed.
---
 net/avahi-app/Makefile                         |  1 +
 net/avahi-app/files/patch-avahi-libevent.pc.in | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile
index e64631f3ece0..f8b0282c3915 100644
--- a/net/avahi-app/Makefile
+++ b/net/avahi-app/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	avahi
 PORTVERSION=	0.8
+PORTREVISION=	1
 CATEGORIES?=	net dns
 MASTER_SITES=	http://www.avahi.org/download/
 PKGNAMESUFFIX?=	-app
diff --git a/net/avahi-app/files/patch-avahi-libevent.pc.in b/net/avahi-app/files/patch-avahi-libevent.pc.in
new file mode 100644
index 000000000000..04f159ab4ade
--- /dev/null
+++ b/net/avahi-app/files/patch-avahi-libevent.pc.in
@@ -0,0 +1,10 @@
+--- avahi-libevent.pc.in.orig	2018-09-14 05:31:35 UTC
++++ avahi-libevent.pc.in
+@@ -6,6 +6,6 @@ Version: @PACKAGE_VERSION@
+ Name: avahi-libevent
+ Description: Avahi Multicast DNS Responder (libevent Support)
+ Version: @PACKAGE_VERSION@
+-Requires: libevent-2.1.5
++Requires: libevent
+ Libs: -L${libdir} -lavahi-libevent
+ Cflags: -D_REENTRANT -I${includedir}