avahi: patch client pkgconfig files without dbus
authorRosen Penev <rosenp@gmail.com>
Sun, 19 Apr 2020 00:08:51 +0000 (17:08 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 19 Apr 2020 01:06:33 +0000 (18:06 -0700)
It still gets built without dbus.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/avahi/Makefile

index d020c1e6b8b83442a01a3efe435de00620b34303..67aa0c804c9f2bc7fff2a07c565f122b38ea13b4 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=avahi
 PKG_VERSION:=0.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \
@@ -321,9 +321,9 @@ endif
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
        $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-core.pc
+       $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-client.pc
 ifneq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd),)
 ifeq ($(BUILD_VARIANT),dbus)
-       $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-client.pc
        $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-compat-libdns_sd.pc
 endif
 endif