avahi: fix systemd service file install path
PATCH 1/1 avahi: fix systemd service file install path
Signed-off-by Aur?lien Chabot <[email protected]>
--- package/avahi/avahi.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
package/avahi/avahi.mk +5 -2
@@ -90,8 +90,11 @@ AVAHI_DEPENDENCIES = \ AVAHI_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_PACKAGE_SYSTEMD),) -AVAHI_CFLAGS += -DDISABLE_SYSTEMD +ifeq ($(BR2_PACKAGE_SYSTEMD),y) + AVAHI_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +else + AVAHI_CONF_OPTS += --with-systemdsystemunitdir=no + AVAHI_CFLAGS += -DDISABLE_SYSTEMD endif ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),)
Signature · 1 line
2.4.5
PATCH 1/1 avahi: fix systemd service file install path
Dear Aur?lien Chabot,
Quoted 10 lines · Aur?lien Chabot
Signed-off-by Aur?lien Chabot <[email protected]>--- package/avahi/avahi.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)package/avahi/avahi.mk +0
-0
package/avahi/avahi.mk AVAHI_DEPENDENCIES = \ · line 94
Quoted 7 lines
package/avahi/avahi.mk +2
-2@@ -90,8 +90,11 @@ AVAHI_DEPENDENCIES = \ AVAHI_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_PACKAGE_SYSTEMD),) -AVAHI_CFLAGS += -DDISABLE_SYSTEMD +ifeq ($(BR2_PACKAGE_SYSTEMD),y) + AVAHI_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
Such variable assignments should not be indented.
Committed, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com