[packages] gdbm: allow autoreconf, fix shell
[openwrt/svn-archive/archive.git] / libs / gdbm / patches / 100-fix-build-with-libtool2.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -55,7 +55,7 @@ manext = 3
4 .c.lo:
5 $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $<
6
7 -SHELL = /bin/sh
8 +SHELL = @SHELL@
9
10 PROGS = libgdbm.la testgdbm testdbm testndbm tndbm tdbm conv2gdbm
11
12 @@ -130,7 +130,7 @@ install: libgdbm.la gdbm.h gdbm.info
13 $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
14 $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
15 $(INSTALL_ROOT)$(infodir)
16 - $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
17 + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
18 $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
19 $(INSTALL_ROOT)$(includedir)/gdbm.h
20 $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
21 @@ -141,7 +141,7 @@ install: libgdbm.la gdbm.h gdbm.info
22 install-compat:
23 $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
24 $(INSTALL_ROOT)$(includedir)
25 - $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
26 + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
27 $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
28 $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
29 $(INSTALL_ROOT)$(includedir)/dbm.h