aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2022-09-22 12:41:15 +0000
committerGleb Popov <arrowd@FreeBSD.org>2022-09-22 16:15:12 +0000
commit21ce3c98cd36ce3a1344b044d1d7d1bc4f2d50bd (patch)
tree419f46d7a8f8f448f346655529e467e29f075eaa
parentc4977e7fdcd6396bfb7e90273363aa80363504ea (diff)
downloadports-21ce3c98cd36ce3a1344b044d1d7d1bc4f2d50bd.tar.gz
ports-21ce3c98cd36ce3a1344b044d1d7d1bc4f2d50bd.zip
net/avahi-app: Fix avahi-libevent.pc file.
It was depending on a specific version of libevent.pc, which is no longer installed.
-rw-r--r--net/avahi-app/Makefile1
-rw-r--r--net/avahi-app/files/patch-avahi-libevent.pc.in10
2 files changed, 11 insertions, 0 deletions
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}