dbus: use $(LIBTOOL) to install 'dbus-daemon'
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 28 Mar 2010 10:29:01 +0000 (12:29 +0200)
committerEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 15 Jul 2010 09:38:00 +0000 (11:38 +0200)
Depending on autotools/libtool version and configure flags, dbus-daemon
will be built sometimes below .libs/ and sometimes in base directory.

Using 'libtool --mode=install' is a portable way to deal with this.

Changing Makefile.am to use native automake methods to install this
files would be a better but more invasive fix.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
recipes/dbus/dbus-1.2.24/fix-install-daemon.patch

index c317863..5e25d12 100644 (file)
@@ -7,7 +7,7 @@ Index: dbus-0.94/bus/Makefile.am
                chmod 755 $(DESTDIR)$(DBUS_DAEMONDIR); \
        fi
 -      $(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
-+      $(INSTALL_PROGRAM) .libs/dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
++      $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
        $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus
        $(mkinstalldirs) $(DESTDIR)$(configdir)/system.d
        $(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services