git: 08f3bc4c0f04 - main - net/py-avahi: Look for the service types DB in the correct location.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 26 Nov 2023 07:56:05 UTC
The branch main has been updated by arrowd:

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

commit 08f3bc4c0f04ec4899fcb9e74e9bc9eef1a218e1
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-11-26 07:55:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-11-26 07:55:53 +0000

    net/py-avahi: Look for the service types DB in the correct location.
---
 net/py-avahi/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
index 7ce82c21e125..f1927c8896ff 100644
--- a/net/py-avahi/Makefile
+++ b/net/py-avahi/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net gnome python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	# empty
@@ -32,10 +32,6 @@ NO_ARCH=	yes
 post-extract:
 	${CP} ${FILESDIR}/build-db ${WRKSRC}/service-type-database
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|@pkglibdatadir@|${DATADIR}|' \
-		${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in
-
 do-build:
 	@${DO_MAKE_BUILD} -C ${BUILD_WRKSRC}
 	@${DO_MAKE_BUILD} -C ${WRKSRC}/service-type-database