make gdbm using libtool2 the way it requires
authorMirko Vogt <mirko@openwrt.org>
Fri, 3 Dec 2010 11:56:53 +0000 (11:56 +0000)
committerMirko Vogt <mirko@openwrt.org>
Fri, 3 Dec 2010 11:56:53 +0000 (11:56 +0000)
SVN-Revision: 24225

libs/gdbm/patches/100-fix-build-with-libtool2.patch [new file with mode: 0644]

diff --git a/libs/gdbm/patches/100-fix-build-with-libtool2.patch b/libs/gdbm/patches/100-fix-build-with-libtool2.patch
new file mode 100644 (file)
index 0000000..b83cfd6
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN gdbm-1.8.3.ori/Makefile.in gdbm-1.8.3.new/Makefile.in
+--- gdbm-1.8.3.ori/Makefile.in 2002-10-08 18:09:12.000000000 +0200
++++ gdbm-1.8.3.new/Makefile.in 2009-04-29 10:14:48.000000000 +0200
+@@ -130,7 +130,7 @@
+       $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
+               $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
+               $(INSTALL_ROOT)$(infodir)
+-      $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
++      $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
+       $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
+               $(INSTALL_ROOT)$(includedir)/gdbm.h
+       $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
+@@ -141,7 +141,7 @@
+ install-compat:
+       $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
+               $(INSTALL_ROOT)$(includedir)
+-      $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
++      $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
+               $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
+       $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
+               $(INSTALL_ROOT)$(includedir)/dbm.h