[oe-commits] Enrico Scholz : dbus: use $(LIBTOOL) to install 'dbus-daemon'

git version control git at git.openembedded.org
Thu Jul 15 09:48:59 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9b5d718684ee37bfd117e02ea3af763847368788
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9b5d718684ee37bfd117e02ea3af763847368788

Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Sun Mar 28 12:29:01 2010 +0200

dbus: use $(LIBTOOL) to install 'dbus-daemon'

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 at sigma-chemnitz.de>

---

 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





More information about the Openembedded-commits mailing list