avahi: fix dbus issue
Needs an extra configure parameter. Reverted pkgconfig fix. It's wrong anyway. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9c95fedca3
commit
d4cdc14e0e
1 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=avahi
|
PKG_NAME:=avahi
|
||||||
PKG_VERSION:=0.8
|
PKG_VERSION:=0.8
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \
|
PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \
|
||||||
|
@ -289,6 +289,7 @@ CONFIGURE_ARGS += \
|
||||||
--with-distro=none \
|
--with-distro=none \
|
||||||
--with-avahi-user=nobody \
|
--with-avahi-user=nobody \
|
||||||
--with-avahi-group=nogroup \
|
--with-avahi-group=nogroup \
|
||||||
|
--with-avahi-priv-access-group=nogroup \
|
||||||
--with-autoipd-user=nobody \
|
--with-autoipd-user=nobody \
|
||||||
--with-autoipd-group=nogroup
|
--with-autoipd-group=nogroup
|
||||||
|
|
||||||
|
@ -321,9 +322,11 @@ endif
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(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-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)
|
ifeq ($(BUILD_VARIANT),dbus)
|
||||||
|
ifneq ($(CONFIG_PACKAGE_libavahi-client),)
|
||||||
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-client.pc
|
||||||
|
endif
|
||||||
|
ifneq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd),)
|
||||||
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-compat-libdns_sd.pc
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/avahi-compat-libdns_sd.pc
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue