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

(cherry picked from commit 08f3bc4c0f)
This commit is contained in:
Gleb Popov 2023-11-26 10:55:10 +03:00
parent ce37877f0d
commit 12841d6ef1

View file

@ -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