From 8be1d04f442d536f11771f374d1a94bcef308826 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Thu, 16 Feb 2006 15:34:48 +0000 Subject: gdbm_1.8.3.bb : patch to Makefile.in to pass --mode=install to libtool when installing, base on patch from http://www.rocklinux.net/sources/package/base/gdbm/libtool-install.patch --- packages/gdbm/gdbm-1.8.3/libtool-mode.patch | 20 ++++++++++++++++++++ packages/gdbm/gdbm_1.8.3.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 packages/gdbm/gdbm-1.8.3/libtool-mode.patch (limited to 'packages/gdbm') diff --git a/packages/gdbm/gdbm-1.8.3/libtool-mode.patch b/packages/gdbm/gdbm-1.8.3/libtool-mode.patch new file mode 100644 index 0000000000..c56bac2ca9 --- /dev/null +++ b/packages/gdbm/gdbm-1.8.3/libtool-mode.patch @@ -0,0 +1,20 @@ +--- gdbm-1.8.3/Makefile.in.orig 2006-02-16 15:17:25.000000000 +0000 ++++ gdbm-1.8.3/Makefile.in 2006-02-16 15:18:08.000000000 +0000 +@@ -131,7 +131,7 @@ + $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ + $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \ + $(DESTDIR)$(infodir) +- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la ++ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la + $(INSTALL_DATA) gdbm.h \ + $(DESTDIR)$(includedir)/gdbm.h + $(INSTALL_DATA) $(srcdir)/gdbm.3 \ +@@ -142,7 +142,7 @@ + install-compat: + $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ + $(DESTDIR)$(includedir) +- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \ ++ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \ + $(DESTDIR)$(libdir)/libgdbm_compat.la + $(INSTALL_DATA) $(srcdir)/dbm.h \ + $(DESTDIR)$(includedir)/dbm.h diff --git a/packages/gdbm/gdbm_1.8.3.bb b/packages/gdbm/gdbm_1.8.3.bb index 7429f41679..ecef5fc414 100644 --- a/packages/gdbm/gdbm_1.8.3.bb +++ b/packages/gdbm/gdbm_1.8.3.bb @@ -6,7 +6,8 @@ LICENSE = "GPL" PR = "r2" SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ - file://makefile.patch;patch=1" + file://makefile.patch;patch=1 \ + file://libtool-mode.patch;patch=1" inherit autotools -- cgit v1.2.3