[oe] [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Wed Apr 14 09:38:22 UTC 2010
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.
---
recipes/dbus/dbus-1.2.24/fix-install-daemon.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch b/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
index c317863..5e25d12 100644
--- a/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
+++ b/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
@@ -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
--
1.7.0.1
More information about the Openembedded-devel
mailing list