summaryrefslogtreecommitdiff
path: root/packages/gdbm
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-02-16 15:34:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-16 15:34:48 +0000
commit8be1d04f442d536f11771f374d1a94bcef308826 (patch)
tree9671d44bada7ea2314725f3effa836bf10763cfa /packages/gdbm
parentca79244e1311933fcc02bc5a10649bb7732e1a2b (diff)
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
Diffstat (limited to 'packages/gdbm')
-rw-r--r--packages/gdbm/gdbm-1.8.3/libtool-mode.patch20
-rw-r--r--packages/gdbm/gdbm_1.8.3.bb3
2 files changed, 22 insertions, 1 deletions
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